Giter Club home page Giter Club logo

nvidia / libcudacxx Goto Github PK

View Code? Open in Web Editor NEW
2.3K 66.0 188.0 12.18 MB

[ARCHIVED] The C++ Standard Library for your entire system. See https://github.com/NVIDIA/cccl

Home Page: https://nvidia.github.io/libcudacxx

License: Other

CMake 1.03% C++ 95.45% Python 1.47% Shell 0.19% Objective-C++ 0.01% C 0.50% Starlark 0.01% Cuda 0.01% Dockerfile 0.55% Batchfile 0.01% HTML 0.63% CSS 0.01% Assembly 0.15%
cuda nvidia-hpc-sdk libcxx gpu cpp cpp11 cpp14 cpp17 cpp20 cpp23

libcudacxx's Introduction

⚠️ The libcudacxx repository has been archived and is now part of the unified nvidia/cccl repository. See the announcement here for more information. Please visit the new repository for the latest updates. ⚠️

libcu++: The C++ Standard Library for Your Entire System

Examples Godbolt Documentation

libcu++, the NVIDIA C++ Standard Library, is the C++ Standard Library for your entire system. It provides a heterogeneous implementation of the C++ Standard Library that can be used in and between CPU and GPU code.

If you know how to use your C++ Standard Library, then you know how to use libcu++. All you have to do is add cuda/std/ to the start of your Standard Library includes and cuda:: before any uses of std:::

#include <cuda/std/atomic>
cuda::std::atomic<int> x;

The NVIDIA C++ Standard Library is an open source project; it is available on GitHub and included in the NVIDIA HPC SDK and CUDA Toolkit. If you have one of those SDKs installed, no additional installation or compiler flags are needed to use libcu++.

cuda:: and cuda::std::

When used with NVCC, NVIDIA C++ Standard Library facilities live in their own header hierarchy and namespace with the same structure as, but distinct from, the host compiler's Standard Library:

  • std::/<*>: When using NVCC, this is your host compiler's Standard Library that works in __host__ code only, although you can use the --expt-relaxed-constexpr flag to use any constexpr functions in __device__ code. With NVCC, libcu++ does not replace or interfere with host compiler's Standard Library.
  • cuda::std::/<cuda/std/*>: Strictly conforming implementations of facilities from the Standard Library that work in __host__ __device__ code.
  • cuda::/<cuda/*>: Conforming extensions to the Standard Library that work in __host__ __device__ code.
  • cuda::device/<cuda/device/*>: Conforming extensions to the Standard Library that work only in __device__ code.
// Standard C++, __host__ only.
#include <atomic>
std::atomic<int> x;

// CUDA C++, __host__ __device__.
// Strictly conforming to the C++ Standard.
#include <cuda/std/atomic>
cuda::std::atomic<int> x;

// CUDA C++, __host__ __device__.
// Conforming extensions to the C++ Standard.
#include <cuda/atomic>
cuda::atomic<int, cuda::thread_scope_block> x;

libcu++ is Heterogeneous

The NVIDIA C++ Standard Library works across your entire codebase, both in and across host and device code. libcu++ is a C++ Standard Library for your entire system, not just your CPU or GPU. Everything in cuda:: is __host__ __device__.

libcu++ facilities are designed to be passed between host and device code. Unless otherwise noted, any libcu++ object which is copyable or movable can be copied or moved between host and device code.

Synchronization objects work across host and device code, and can be used to synchronize between host and device threads. However, there are some restrictions to be aware of; please see the synchronization primitives section for more details.

cuda::device::

A small number of libcu++ facilities only work in device code, usually because there is no sensible implementation in host code.

Such facilities live in cuda::device::.

libcu++ is Incremental

Today, the NVIDIA C++ Standard Library delivers a high-priority subset of the C++ Standard Library today, and each release increases the feature set. But it is a subset; not everything is available today. The Standard API section lists the facilities available and the releases they were first introduced in.

Licensing

The NVIDIA C++ Standard Library is an open source project developed on GitHub. It is NVIDIA's variant of LLVM's libc++. libcu++ is distributed under the Apache License v2.0 with LLVM Exceptions.

Conformance

The NVIDIA C++ Standard Library aims to be a conforming implementation of the C++ Standard, ISO/IEC IS 14882, Clause 16 through 32.

ABI Evolution

The NVIDIA C++ Standard Library does not maintain long-term ABI stability. Promising long-term ABI stability would prevent us from fixing mistakes and providing best in class performance. So, we make no such promises.

Every major CUDA Toolkit release, the ABI will be broken. The life cycle of an ABI version is approximately one year. Long-term support for an ABI version ends after approximately two years. Please see the versioning section for more details.

We recommend that you always recompile your code and dependencies with the latest NVIDIA SDKs and use the latest NVIDIA C++ Standard Library ABI. Live at head.

libcudacxx's People

Contributors

alliepiper avatar anstellaire avatar ashermancinelli avatar bdice avatar benbarsdell avatar brycelelbach avatar c0riolis avatar chaosink avatar chengjiew avatar cwharris avatar daniellustig avatar davedsth avatar dkolsen-pgi avatar gevtushenko avatar gonzalobg avatar griwes avatar igelado avatar januszl avatar jlebar avatar jrhemstad avatar mclow avatar miscco avatar ogiroux avatar pauleonix avatar robertmaynard avatar sleeepyjack avatar trxcllnt avatar veictry avatar wmaxey avatar zasdfgbnm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libcudacxx's Issues

Alignment requirements of cuda::std::complex

The following two static_asserts compile without issues:

#include <cuda/std/complex>
static_assert(alignof(cuda::std::complex<double>) == 8);
static_assert(alignof(cuda::std::complex<float>) == 4);

I'd expected them to be 16 and 8 to match the double2 and float2 types.

Do we have specific hardware requirements to build the library?

I am getting the below error when trying to test the library in my digital ocean Linux box. (It doesn't have GPUs in it)

Command: root@recon:~/libcudacxx/build# ../utils/nvidia/linux/perform_tests.bash --skip-libcxx-tests

################################################################################

TEST SM Architecture Detection

lit: /root/libcudacxx/utils/libcxx/test/config.py:40: note: using site specific configuration at /root/libcudacxx/build/libcxx/test/lit.site.cfg
lit: /root/libcudacxx/test/lit.cfg:45: note: Using configuration variant: libcxx
lit: /root/libcudacxx/utils/libcxx/test/config.py:360: note: inferred use_system_cxx_lib as: None
lit: /root/libcudacxx/utils/libcxx/test/config.py:245: note: detected cxx.type as: nvcc
lit: /root/libcudacxx/utils/libcxx/test/config.py:247: note: detected cxx.version as: ('10', '1', '243')
lit: /root/libcudacxx/utils/libcxx/test/config.py:249: note: detected cxx.default_dialect as: c++14
lit: /root/libcudacxx/utils/libcxx/test/config.py:251: note: detected cxx.is_nvrtc as: False
lit: /root/libcudacxx/utils/libcxx/test/config.py:279: note: detected host_cxx.type as: gcc
lit: /root/libcudacxx/utils/libcxx/test/config.py:281: note: detected host_cxx.version as: ('9', '3', '0')
lit: /root/libcudacxx/utils/libcxx/test/config.py:283: note: detected host_cxx.default_dialect as: c++14
lit: /root/libcudacxx/utils/libcxx/test/config.py:285: note: detected host_cxx.is_nvrtc as: False
lit: /root/libcudacxx/utils/libcxx/test/config.py:387: note: inferred use_clang_verify as: False
lit: /root/libcudacxx/utils/libcxx/test/target_info.py:67: warning: The locale fr_FR.UTF-8 is not supported by your platform. Some tests will be unsupported.
lit: /root/libcudacxx/utils/libcxx/test/target_info.py:67: warning: The locale ru_RU.UTF-8 is not supported by your platform. Some tests will be unsupported.
lit: /root/libcudacxx/utils/libcxx/test/target_info.py:67: warning: The locale zh_CN.UTF-8 is not supported by your platform. Some tests will be unsupported.
lit: /root/libcudacxx/utils/libcxx/test/target_info.py:67: warning: The locale fr_CA.ISO8859-1 is not supported by your platform. Some tests will be unsupported.
lit: /root/libcudacxx/utils/libcxx/test/target_info.py:67: warning: The locale cs_CZ.ISO8859-2 is not supported by your platform. Some tests will be unsupported.
lit: /root/libcudacxx/utils/libcxx/test/config.py:480: note: inferred long_tests as: True
lit: /root/libcudacxx/utils/libcxx/test/config.py:315: fatal: Command: ['/usr/bin/nvcc', '-x', 'cu', '/dev/null', '-E', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/root/libcudacxx/test/support/nasty_macros.h', '-I/root/libcudacxx/include', '-I/root/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/root/libcudacxx/test/support', '-include', '/root/libcudacxx/test/force_include.h', '-I/root/libcudacxx/include', '-I/root/libcudacxx/../cuda/tools/cooperative_groups', '-I/root/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_35,code=sm_35', '-gencode=arch=compute_50,code=sm_50', '-gencode=arch=compute_52,code=sm_52', '-gencode=arch=compute_53,code=sm_53', '-gencode=arch=compute_60,code=sm_60', '-gencode=arch=compute_61,code=sm_61', '-gencode=arch=compute_62,code=sm_62', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_72,code=sm_72', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_80,code=sm_80', '-gencode=arch=compute_80,code=compute_80', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-Xcompiler', '-dM']
Exit Code: 1
Standard Error:

nvcc fatal : Unknown option '-extended-lambda'

Compiler failed unexpectedly when dumping macros!
################################################################################
Score: 0.00%

Add specific tests for ABI version 2

I don't think we test ABI version 2 right now because it's not the default. We should have target tests that force the older ABI version and validate those codepaths. We only need to do this for facilities that have different codepaths in ABI version 3 and ABI version 2.

Implement `std::array`

Static array storage is commonly used in CUDA programs, and many folks simply resort to reinventing the wheel of std::array on the device. It would be highly desirable to have libcu++ implement std::array in the near to medium term to avoid this.

Linking Clang, llvm-goc, ld, lld against libcu++ for heterogenous execution (gollvm)

Hi.
Not that really saw any working prototype for any C/C++ compiler, which supports accelerating it's workload in a heterogenous manner (I even didn't see that working for GPGPU, yet) - but still curious how much work is required to support this for gollvm project.
Indeed accelerating Clang itself is what shoud be solved first - "llvm-goc" tool, found within gollvm project, itself contains Golang front-end and other stuff, which only trigger Clang's executable (external invocation).
Indeed llvm-goc has some categories of algorithms that are well accelerated by the GPU.

So it leads to an idea of linking Clang (11.0 RC5, as for today) and llvm-goc against your C++ standard library.

Similar approach could be applied against ld (less reasonable) and lld (more reasonable).
Linker have to finish it's execution, until compiler's session could use the results. But since this is about parallel computing - some compiler-linker pipelines, during build automation, could run in parallel to other compiler-linker workloads.

Please share your thoughts, for a matter of a public discussion.

Ivan

cuda::pipeline does not use L1 bypass

I encountered this regression when porting some of the RTM kernels to use libcu++:

Example (https://cuda.godbolt.org/z/bfMq9Y):

#include <cooperative_groups.h>
#include <cuda/pipeline>
#include <cuda/barrier>
#include <cuda_pipeline.h>
#include <cuda_awbarrier.h>


using T = float4;
__global__ void test_pipe_intr(T* input, T volatile* out) {
   __shared__ T smem[32];
     __pipeline_memcpy_async(smem + threadIdx.x, input + threadIdx.x, sizeof(T));
     __pipeline_commit();
     __pipeline_wait_prior(0);
}

__global__ void test_pipe_cxx(T* input, T volatile* out) {
   __shared__ T smem[32];
     cuda::pipeline<cuda::thread_scope_thread> p = cuda::make_pipeline();
     auto g = cooperative_groups::this_thread();
     p.producer_acquire();
     cuda::memcpy_async(g, smem + threadIdx.x, input + threadIdx.x, cuda::aligned_size_t<16>(sizeof(T)), p);
     p.producer_commit();
     cuda::pipeline_consumer_wait_prior<0>(p);
}

The intrinsics implementation generates LDGSTS.E.BYPASS as expected:

test_pipe_intr(float4*, float4 volatile*):
 MOV R1, c[0x0][0x28] 
 S2R R2, SR_TID.X 
 MOV R3, 0x10 
 ULDC.64 UR4, c[0x0][0x118] 
 SHF.L.U32 R5, R2, 0x4, RZ 
 IMAD.WIDE.U32 R2, R2, R3, c[0x0][0x160] 
 LDGSTS.E.BYPASS.128 [R5], [R2.64] 
 LDGDEPBAR 
 DEPBAR.LE SB0, 0x0 
 EXIT 
.L_6:
 BRA `(.L_6)
.L_46:

but the libcucxx implementation generates an LDGSTS.E (aka LDGSTS.E.ACCESS) instead, and an extra BSYNC B0 :

test_pipe_cxx(float4*, float4 volatile*):
 IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] 
 S2R R0, SR_EQMASK 
 BSSY B0, `(.L_3) 
 S2R R3, SR_LTMASK 
 LOP3.LUT R0, R3, R0, RZ, 0xc0, !PT 
 POPC R0, R0 
 IMAD.WIDE.U32 R2, R0, 0x10, RZ 
 ISETP.GT.U32.AND P0, PT, R2, 0xf, PT 
 ISETP.GT.U32.AND.EX P0, PT, R3, RZ, PT, P0 
 @P0 BRA `(.L_4) 
 S2R R5, SR_TID.X 
 IADD3 R4, P0, -R2, -0x10, RZ 
 ULDC.64 UR4, c[0x0][0x118] 
 IADD3.X R2, ~R3, -0x1, RZ, P0, !PT 
 ISETP.NE.U32.AND P0, PT, R4, RZ, PT 
 ISETP.NE.AND.EX P0, PT, R2, RZ, PT, P0 
 IADD3 R3, P1, R0.reuse, R5, RZ 
 IMAD.IADD R0, R0, 0x1, R5 
 IMAD.X R4, RZ, RZ, RZ, P1 
 LEA R2, P1, R3, c[0x0][0x160], 0x4 
 IMAD.SHL.U32 R5, R0, 0x10, RZ 
 LEA.HI.X R3, R3, c[0x0][0x164], R4, 0x4, P1 
 @!P0 LDGSTS.E.128 [R5], [R2.64] 
 @!P0 LDGSTS.E.128 [R5+0x10], [R2.64+0x10] 
 @P0 LDGSTS.E.128 [R5], [R2.64] 
.L_4:
 BSYNC B0 
.L_3:
 LDGDEPBAR 
 DEPBAR.LE SB0, 0x0 
 EXIT 
.L_5:
 BRA `(.L_5)

While this SASS was generated with CUDA 11.1, I can reproduce with CUDA 11.2 (godbolt does not support it though).

`<cuda/pipeline>` is not a part of libcu++

I am trying to run the tests on new WSL2 version that supports CUDA. Currently I can run tensorflow with cuda-toolkit-10.1 and I can run cuda-toolkit-11.0 samples with no problems. When I try the instructions at docs I am getting the following error:

# TEST SM Architecture Detection
# DETECTION SM Architecture : Device 0, 75
################################################################################
# VARIABLE PATH=/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program\ Files\ \(x86\)/NVIDIA\ Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft\ VS\ Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
# VARIABLE PWD=/home/dogacel/libcudacxx/build
# VARIABLE SCRIPT_PATH=/home/dogacel/libcudacxx/.upstream-tests/utils/nvidia/linux
# VARIABLE LIBCUDACXX_PATH=/home/dogacel/libcudacxx
# VARIABLE VERBOSE=''
# VARIABLE LIBCUDACXX_SKIP_BASE_TESTS_BUILD=''
# VARIABLE LIBCUDACXX_SKIP_TESTS_RUN=''
# VARIABLE LIBCUDACXX_SKIP_LIBCXX_TESTS=1
# VARIABLE LIBCUDACXX_SKIP_LIBCUDACXX_TESTS=''
# VARIABLE LIBCUDACXX_SKIP_ARCH_DETECTION=''
# VARIABLE LIBCXX_LIT_SITE_CONFIG=/home/dogacel/libcudacxx/libcxx/build/test/lit.site.cfg
# VARIABLE LIBCUDACXX_LIT_SITE_CONFIG=/home/dogacel/libcudacxx/build/libcxx/test/lit.site.cfg
# VARIABLE LIBCXX_LOG=/tmp/tmp.Sbe8wzHly9
# VARIABLE LIBCUDACXX_LOG=/tmp/tmp.dTZTndBO62
# VARIABLE LIBCXX_TEST_TARGETS=/home/dogacel/libcudacxx/libcxx/test
# VARIABLE LIBCUDACXX_TEST_TARGETS=/home/dogacel/libcudacxx/test
# VARIABLE LIT_COMPUTE_ARCHS_FLAG=-Dcompute_archs=\"
# VARIABLE LIT_COMPUTE_ARCHS_SUFFIX=\"
# VARIABLE LIT_FLAGS=-sv\ --no-progress-bar
# VARIABLE LIT_PREFIX=time
# VARIABLE RAW_TEST_TARGETS=''
# VARIABLE LIBCUDACXX_COMPUTE_ARCHS=75
# VARIABLE DEVICE_0_COMPUTE_ARCH=75
################################################################################
# TEST libc++ : Skipped
################################################################################
# TEST libcu++
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:40: note: using site specific configuration at /home/dogacel/libcudacxx/build/libcxx/test/lit.site.cfg
lit: /home/dogacel/libcudacxx/test/lit.cfg:45: note: Using configuration variant: libcxx
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:360: note: inferred use_system_cxx_lib as: None
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:245: note: detected cxx.type as: nvcc
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:247: note: detected cxx.version as: ('11', '0', '221')
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:249: note: detected cxx.default_dialect as: c++14
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:251: note: detected cxx.is_nvrtc as: False
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:279: note: detected host_cxx.type as: gcc
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:281: note: detected host_cxx.version as: ('9', '3', '0')
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:283: note: detected host_cxx.default_dialect as: c++14
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:285: note: detected host_cxx.is_nvrtc as: False
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:387: note: inferred use_clang_verify as: False
lit: /home/dogacel/libcudacxx/utils/libcxx/test/target_info.py:67: warning: The locale fr_FR.UTF-8 is not supported by your platform. Some tests will be unsupported.
lit: /home/dogacel/libcudacxx/utils/libcxx/test/target_info.py:67: warning: The locale ru_RU.UTF-8 is not supported by your platform. Some tests will be unsupported.
lit: /home/dogacel/libcudacxx/utils/libcxx/test/target_info.py:67: warning: The locale zh_CN.UTF-8 is not supported by your platform. Some tests will be unsupported.
lit: /home/dogacel/libcudacxx/utils/libcxx/test/target_info.py:67: warning: The locale fr_CA.ISO8859-1 is not supported by your platform. Some tests will be unsupported.
lit: /home/dogacel/libcudacxx/utils/libcxx/test/target_info.py:67: warning: The locale cs_CZ.ISO8859-2 is not supported by your platform. Some tests will be unsupported.
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:480: note: inferred long_tests as: True
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:160: note: Using compiler: /usr/local/cuda/bin/nvcc
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:161: note: Using flags: ['-v', '-ftemplate-depth=270']
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:165: note: Using compile flags: ['-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75']
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:168: note: Using warnings: ['-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER']
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:169: note: Using link flags: ['-ccbin=g++', '-L/home/dogacel/libcudacxx/build/lib', '-Xcompiler', '"-Wl,-rpath,/home/dogacel/libcudacxx/build/lib"', '-L/home/dogacel/libcudacxx/build/lib', '-Xcompiler', '"-Wl,-rpath,/home/dogacel/libcudacxx/build/lib"', '-lm', '-lgcc_s', '-lgcc', '-lpthread', '-lrt', '-lc', '-lgcc_s', '-lgcc']
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:171: note: Using available_features: ['long_tests', 'nvcc-11.0', 'locale.en_US.UTF-8', 'c++11', 'dylib-has-no-filesystem', 'nvcc-11.0.221', 'libcpp-no-structured-bindings', 'glibc-2.31', 'libcpp-no-if-constexpr', 'gcc-9', 'linux', 'libc++', 'libcpp-no-exceptions', 'nvcc-11', 'glibc-2', 'libcpp-no-rtti', 'libcpp-no-deduction-guides', 'glibc', 'c++filesystem-disabled', 'gcc', 'no-aligned-allocation', 'nvcc', 'gcc-9.3']
lit: /home/dogacel/libcudacxx/utils/libcxx/test/config.py:177: note: Adding environment variables: {}
-- Testing: 528 tests, 8 workers --
FAIL: libcu++ :: cuda/pipeline_arrive_on.pass.cpp (2 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_arrive_on.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_arrive_on.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_arrive_on.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_arrive_on.pass.cpp" -o "/tmp/tmpxft_00007c91_00000000-7_pipeline_arrive_on.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/include/cuda/std/version:12,
                 from /home/dogacel/libcudacxx/include/cuda/std/cstddef:19,
                 from /home/dogacel/libcudacxx/include/cuda/std/atomic:39,
                 from /home/dogacel/libcudacxx/include/cuda/std/barrier:16,
                 from /home/dogacel/libcudacxx/include/cuda/barrier:9,
                 from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_arrive_on.pass.cpp:15:
/home/dogacel/libcudacxx/include/cuda/std/detail/__config:120:2: error: #error cuda_pipeline.h has assumed a different libcu++ ABI version than provided by this library. To fix this, please include a libcu++ header before including cuda_pipeline.h, or upgrade to a version of the toolkit this version of libcu++ shipped in.
  120 | #error cuda_pipeline.h has assumed a different libcu++ ABI version than provided by this library. To fix this, please include a libcu++ header before including cuda_pipeline.h, or upgrade to a version of the toolkit this version of libcu++ shipped in.
      |  ^~~~~
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_producer_consumer.pass.cpp (4 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_producer_consumer.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_producer_consumer.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp" -o "/tmp/tmpxft_00007cb2_00000000-7_pipeline_memcpy_async_producer_consumer.pass.cpp1.ii"
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp (5 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_block_16.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp" -o "/tmp/tmpxft_00007cb8_00000000-7_pipeline_memcpy_async_thread_scope_block_16.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp (6 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_block_32.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp" -o "/tmp/tmpxft_00007cbe_00000000-7_pipeline_memcpy_async_thread_scope_block_32.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp (7 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_block_64.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp" -o "/tmp/tmpxft_00007cc4_00000000-7_pipeline_memcpy_async_thread_scope_block_64.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp (8 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_block_8.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp" -o "/tmp/tmpxft_00007ccc_00000000-7_pipeline_memcpy_async_thread_scope_block_8.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp (9 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp" -o "/tmp/tmpxft_00007cd2_00000000-7_pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp (10 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_device_16.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp" -o "/tmp/tmpxft_00007cd8_00000000-7_pipeline_memcpy_async_thread_scope_device_16.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp (11 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_device_32.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp" -o "/tmp/tmpxft_00007ce3_00000000-7_pipeline_memcpy_async_thread_scope_device_32.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp (12 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_device_64.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp" -o "/tmp/tmpxft_00007ceb_00000000-7_pipeline_memcpy_async_thread_scope_device_64.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp (13 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_device_8.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp" -o "/tmp/tmpxft_00007cf1_00000000-7_pipeline_memcpy_async_thread_scope_device_8.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp (14 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp" -o "/tmp/tmpxft_00007cfb_00000000-7_pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp (15 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_system_16.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp" -o "/tmp/tmpxft_00007d05_00000000-7_pipeline_memcpy_async_thread_scope_system_16.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp (16 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_system_32.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp" -o "/tmp/tmpxft_00007d0b_00000000-7_pipeline_memcpy_async_thread_scope_system_32.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp (17 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_system_64.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp" -o "/tmp/tmpxft_00007d14_00000000-7_pipeline_memcpy_async_thread_scope_system_64.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp (18 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_system_8.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp" -o "/tmp/tmpxft_00007d1a_00000000-7_pipeline_memcpy_async_thread_scope_system_8.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp (19 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp" -o "/tmp/tmpxft_00007d20_00000000-7_pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory
   12 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp (20 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp" -o "/tmp/tmpxft_00007d26_00000000-7_pipeline_memcpy_async_thread_scope_thread_16.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread.h:11:10: fatal error: cuda/pipeline: No such file or directory
   11 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp (21 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp" -o "/tmp/tmpxft_00007d2c_00000000-7_pipeline_memcpy_async_thread_scope_thread_32.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread.h:11:10: fatal error: cuda/pipeline: No such file or directory
   11 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp (22 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp" -o "/tmp/tmpxft_00007d33_00000000-7_pipeline_memcpy_async_thread_scope_thread_8.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread.h:11:10: fatal error: cuda/pipeline: No such file or directory
   11 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp (23 of 528)
******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp' FAILED ********************
Command: ['/usr/local/cuda/bin/nvcc', '-o', '/home/dogacel/libcudacxx/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp.o', '-x', 'cu', '/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++11', '-include', '/home/dogacel/libcudacxx/test/support/nasty_macros.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/build/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Xcompiler', '-fno-exceptions', '-Xcompiler', '-fno-rtti', '-D_LIBCUDACXX_NO_RTTI', '-I/home/dogacel/libcudacxx/test/support', '-include', '/home/dogacel/libcudacxx/test/force_include.h', '-I/home/dogacel/libcudacxx/include', '-I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups', '-I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_75,code=sm_75', '-gencode=arch=compute_75,code=compute_75', '-Xcudafe', '--display_error_number', '-Werror', 'all-warnings', '-Xcompiler', '-Wall', '-Xcompiler', '-Wextra', '-Xcompiler', '-Werror', '-Xcompiler', '-Wno-literal-suffix', '-Xcompiler', '-Wno-unused-parameter', '-Xcompiler', '-Wno-deprecated-declarations', '-Xcompiler', '-Wno-noexcept-type', '-Xcompiler', '-Wno-unused-function', '-D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER', '-c']
Exit Code: 1
Standard Error:
--
#$ _NVVM_BRANCH_=nvvm
#$ _SPACE_=
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/cuda/bin
#$ _THERE_=/usr/local/cuda/bin
#$ _TARGET_SIZE_=
#$ _TARGET_DIR_=
#$ _TARGET_DIR_=targets/x86_64-linux
#$ TOP=/usr/local/cuda/bin/..
#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda/bin/../nvvm/libdevice
#$ LD_LIBRARY_PATH=/usr/local/cuda/bin/../lib:/usr/local/cuda-10.1/include:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.2/lib64:/usr/local/cuda-10.1/lib64::/usr/local/cuda/extras/CUPTI/lib64
#$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/home/dogacel/.nvm/versions/node/v14.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/dogac/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/dogac/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/dogac/Documents/Git/cmd:/mnt/c/src/flutter/bin:/home/dogacel/.local/bin
#$ INCLUDES="-I/usr/local/cuda/bin/../targets/x86_64-linux/include"
#$ LIBRARIES=  "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"
#$ CUDAFE_FLAGS=
#$ PTXAS_FLAGS=
#$ g++ -std=c++11 -D__CUDA_ARCH__=750 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__  -fno-exceptions -fno-rtti -Wall -Wextra -Werror -Wno-literal-suffix -Wno-unused-parameter -Wno-deprecated-declarations -Wno-noexcept-type -Wno-unused-function -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/build/libcxx/include/c++build" -I"/home/dogacel/libcudacxx/test/support" -I"/home/dogacel/libcudacxx/include" -I"/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups" -I"/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext" "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D "__STDC_FORMAT_MACROS" -D "__STDC_LIMIT_MACROS" -D "__STDC_CONSTANT_MACROS" -D "_LIBCUDACXX_NO_RTTI" -D "_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=221 -include "cuda_runtime.h" -include "/home/dogacel/libcudacxx/test/support/nasty_macros.h" -include "/home/dogacel/libcudacxx/test/force_include.h" -Werror -m64 "/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp" -o "/tmp/tmpxft_00007d48_00000000-7_pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp1.ii"
In file included from /home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp:11:
/home/dogacel/libcudacxx/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread.h:11:10: fatal error: cuda/pipeline: No such file or directory
   11 | #include <cuda/pipeline>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
# --error 0x1 --
--

Compilation failed unexpectedly!
********************
FAIL: libcu++ :: heterogeneous/atomic_flag.pass.cpp (25 of 528)
******************** TEST 'libcu++ :: heterogeneous/atomic_flag.pass.cpp' FAILED ********************
Compiled With: '/usr/local/cuda/bin/nvcc -o /home/dogacel/libcudacxx/build/libcxx/test/heterogeneous/Output/atomic_flag.pass.cpp.o -x cu /home/dogacel/libcudacxx/.upstream-tests/test/heterogeneous/atomic_flag.pass.cpp -c -v -ftemplate-depth=270 -ccbin=g++ -std=c++11 -include /home/dogacel/libcudacxx/test/support/nasty_macros.h -I/home/dogacel/libcudacxx/include -I/home/dogacel/libcudacxx/build/libcxx/include/c++build -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -Xcompiler -fno-exceptions -Xcompiler -fno-rtti -D_LIBCUDACXX_NO_RTTI -I/home/dogacel/libcudacxx/test/support -include /home/dogacel/libcudacxx/test/force_include.h -I/home/dogacel/libcudacxx/include -I/home/dogacel/libcudacxx/../cuda/tools/cooperative_groups -I/home/dogacel/libcudacxx/../cuda/tools/libcudacxxext --extended-lambda -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_75,code=compute_75 -Xcudafe --display_error_number -Werror all-warnings -Xcompiler -Wall -Xcompiler -Wextra -Xcompiler -Werror -Xcompiler -Wno-literal-suffix -Xcompiler -Wno-unused-parameter -Xcompiler -Wno-deprecated-declarations -Xcompiler -Wno-noexcept-type -Xcompiler -Wno-unused-function -D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER -c && /usr/local/cuda/bin/nvcc -o /home/dogacel/libcudacxx/build/libcxx/test/heterogeneous/Output/atomic_flag.pass.cpp.exe /home/dogacel/libcudacxx/build/libcxx/test/heterogeneous/Output/atomic_flag.pass.cpp.o -v -ftemplate-depth=270 -ccbin=g++ -L/home/dogacel/libcudacxx/build/lib -Xcompiler "-Wl,-rpath,/home/dogacel/libcudacxx/build/lib" -L/home/dogacel/libcudacxx/build/lib -Xcompiler "-Wl,-rpath,/home/dogacel/libcudacxx/build/lib" -lm -lgcc_s -lgcc -lpthread -lrt -lc -lgcc_s -lgcc'
Command: ['/home/dogacel/libcudacxx/build/libcxx/test/heterogeneous/Output/atomic_flag.pass.cpp.exe']
Exit Code: -11
Standard Output:
--
CUDA devices found: 1
Device 0: "GeForce GTX 1650", Selected, SM75, 4294967296 [bytes]
--

Compiled test failed unexpectedly!
********************

Also I can't run the benchmark using linux.sh in samples it gives this error:

System has 1024 hardware threads in a single block.
============================
check failed: invalid device ordinal: benchmark.cpp:118```

Compiler warnings when including `cuda/atomic` with CUDA 11.2

The following warnings are triggered when including cuda/atomic with CUDA 11.2 with g++-9 when building with -Wall -Wextra

/usr/local/cuda-11.2/bin/../targets/x86_64-linux/include/cuda/std/atomic: In function 'void cuda::__3::atomic_thread_fence(cuda::__3::memory_order, cuda::__3::thread_scope)':
/usr/local/cuda-11.2/bin/../targets/x86_64-linux/include/cuda/std/atomic:161:64: warning: unused parameter '_Scope' [-Wunused-parameter]
  161 | inline __host__ __device__ void atomic_thread_fence(memory_order __m, thread_scope _Scope = thread_scope_system) {
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Mon_Jan__4_19:13:17_PST_2021
Cuda compilation tools, release 11.2, V11.2.124
Build cuda_11.2.r11.2/compiler.29467849_0

and

$ g++ --version
g++ (Ubuntu 9.3.0-11ubuntu0~18.04.1) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This warnings wasn't triggered with earlier versions of CUDA (11.0 and 11.1).

Support for `std::complex<__half>`?

Hello, suggested by @allisonvacanti I am opening an issue for information gathering. I am wondering if libcu++ can support half complex natively or not.

We are evaluating the possibility of supporting complex32 (consisting of two half-precision floating numbers, i.e., __half) in CuPy, see cupy/cupy#3370. This is important for us to be able to seamlessly work with CUDA libraries that provide half complex support (such as cuFFT).

Currently CuPy uses a clone of Thrust headers for complex-number support (so we use thrust::complex<T> internally), but obviously Thrust does not support __half natively, and the only reason CuPy's internal could make thrust::complex<__half> compiled without any error is because we provide a conversion operator from __half to float so that the single-precision specializations are used, which is obviously not optimal nor desired in terms of performance.

Thanks.

Some basic compile issue

I am really looking forward to using cxx in CUDA code. Thanks for the work. Still a newbie in this area so I have some basic questions.
My CUDA version is 10.2, which was installed months ago
1:
Do I need to install the libcudacxx separately (like git clone this repo, cmake, make install) or it is already in the cudatootkit?

2: Previously when I use CMake to compile CUDA code, it's something like the following

project(ABC LANGUAGES CXX CUDA)

find_package(CUDA QUIET REQUIRED)
include_directories(${CUDA_INCLUDE_DIRS} )

add_executable(abc abc.cu)
target_link_libraries(abc ${CUBLAS_LIBRARIES})

Which works fine.
I saw this repo's example cmake use

find_package(CUDAToolkit REQUIRED)

I assume find_package(CUDAToolkit REQUIRED) take the place of find_package(CUDA QUIET REQUIRED)?
But when I use find_package(CUDAToolkit REQUIRED) in cmake I got

...
  Could not find a package configuration file provided by "CUDAToolkit" with
  any of the following names:

    CUDAToolkitConfig.cmake
    cudatoolkit-config.cmake
...

Should I just upgrade my CUDA10.2 so that those things will work fine?

cmake .. throws that it can't find libatomic.

CMake Warning at libcxx/cmake/Modules/CheckLibcxxAtomic.cmake:54 (message):
Host compiler appears to require libatomic, but cannot find it.
Call Stack (most recent call first):
libcxx/cmake/config-ix.cmake:76 (include)
libcxx/CMakeLists.txt:488 (include)

-- Linker detection: unknown
-- there is no pre-generated ABI list for the requested libc++ configuration. check-cxx-abilist target is not supported
-- Configuring done
-- Generating done
-- Build files have been written to: /root/libcudacxx/build

Is the above thing means it had build correctly? In Linux environment.

Support half/bf16 For Complex

Currently there are no specializations for __half or __nv_bfloat16 types. It would be useful for writing generic code using the complex libraries if these could be supported as first-class types.

Document policy on backporting features to older C++ dialects

libcu++ makes some library features of the STL available in older C++ dialects, e.g., type_traits and chrono.

We should document our policy for what features libcu++ will backport.

From @brycelelbach:

I think that policy should be whenever it is possible to implement a
library feature from a newer dialect in an older dialect, we will do so. If
the library feature depends on newer language features, then we shouldn't
backport it. If it uses newer language features, but they aren't core to the
facility or change, then we should make a best effort. For example, C++17
string_view has deduction guides, which are a C++17 language feature, but they
are not central to the design of string_view.

There is some concern that this could decrease portability where a user of libcu++ uses backported feature X and then switches to another standard library where feature X is not available in the same C++ dialect.

We could:

  • Do nothing and just backport features.
  • Make it opt-in.
  • Make it opt-out.
  • Provide an opt-in warning mode.
  • Provide an opt-out warning mode.
  • Only do it in cuda::std but not in std.

Internal links are broken in the landing page

Moving the readme to /docs broke the internal links to api.md and synchronization_library.md because at the landing page it is missing the additional redirection to /docs (It seems to assume that the file is included as is)

I am not 100% sure what the correct fix is, as adding /docs to the internal links will break /docs/readme.md rather than the landing page

Remove dependency on LLVM CMake modules

It's annoying to have a heavyweight dependency like LLVM when all we need are some of its CMake modules. Let's either copy them or remove the dependency.

Build failure: <tuple> CTAD fails on GCC 10.2

10.1 passes cleanly.

10.2 results in a CTAD failure:

/home/wes/cccl/libcudacxx-github/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp: In function ‘void test_primary_template()’:
/home/wes/cccl/libcudacxx-github/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp:95:38: error: class template argument deduction failed:
   95 |     cuda::std::tuple t2(T{}, 101l, v);
      |                                      ^
/home/wes/cccl/libcudacxx-github/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp:95:38: error: no matching function for call to ‘ExplicitTestTypes::AllCtors::AllCtors(const T&)’
/home/wes/cccl/libcudacxx-github/test/support/archetypes.h:62:1: note: candidate: ‘template<bool Dummy, typename cuda::std::__3::enable_if<(Dummy && (! true)), bool>::type <anonymous> > ArchetypeBases::TestBase<Derived, Explicit>::TestBase(int) [with bool Dummy = Dummy; typename cuda::std::__3::enable_if<(Dummy && (! Explicit)), bool>::type <anonymous> = <anonymous>; Derived = ExplicitTestTypes::AllCtors; bool Explicit = true]’
   62 |     __host__ __device__ TestBase(int x) noexcept : value(x) {
      | ^   ~~~~
/home/wes/cccl/libcudacxx-github/test/support/archetypes.ipp:45:51: note:   inherited here
   45 |   using Base::Base;
      |                                                   ^       
/home/wes/cccl/libcudacxx-github/test/support/archetypes.ipp:45:51: note:   template argument deduction/substitution failed:
/home/wes/cccl/libcudacxx-github/test/support/archetypes.h:61:104: error: no type named ‘type’ in ‘struct cuda::std::__3::enable_if<false, bool>’
   61 |     template <bool Dummy = true, typename cuda::std::enable_if<Dummy && !Explicit, bool>::type = true>
      |                                                                                                        ^   
/home/wes/cccl/libcudacxx-github/test/support/archetypes.h:70:1: note: candidate: ‘template<bool Dummy, typename cuda::std::__3::enable_if<(Dummy && (! true)), bool>::type <anonymous> > ArchetypeBases::TestBase<Derived, Explicit>::TestBase(int, int) [with bool Dummy = Dummy; typename cuda::std::__3::enable_if<(Dummy && (! Explicit)), bool>::type <anonymous> = <anonymous>; Derived = ExplicitTestTypes::AllCtors; bool Explicit = true]’
   70 |     __host__ __device__ TestBase(int, int y) noexcept : value(y) {
      | ^   ~~~~
/home/wes/cccl/libcudacxx-github/test/support/archetypes.ipp:45:51: note:   inherited here
   45 |   using Base::Base;
      |                                                   ^       
/home/wes/cccl/libcudacxx-github/test/support/archetypes.ipp:45:51: note:   template argument deduction/substitution failed:
/home/wes/cccl/libcudacxx-github/.upstream-tests/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp:95:38: note:   candidate expects 2 arguments, 1 provided
   95 |     cuda::std::tuple t2(T{}, 101l, v);
      |                                      ^
/home/wes/cccl/libcudacxx-github/include/cuda/std/detail/libcxx/include/tuple:1067:7: note:   initializing argument 3 of ‘cuda::std::__3::tuple(_Tp ...)-> cuda::std::__3::tuple<_Tp ...> [with _Tp = {ExplicitTestTypes::AllCtors, long int, ExplicitTestTypes::AllCtors}]’
 1067 | tuple(_Tp...) -> tuple<_Tp...>;
      |       ^~~~~~~

`constexpr` globals are unable to ODR-used in device code

constexpr globals are unable to be ODR used in device code. Until device support for them is available we might need to use some workarounds or tricks.

One of which is replacing constexpr with __constant__. We should replace hacks like this with a define instead:

https://github.com/NVIDIA/libcudacxx/blob/main/libcxx/include/tuple#L1159

#ifdef __CUDA_ARCH__
  _LIBCUDACXX_INLINE_VAR __constant__ __ignore_t<unsigned char> ignore = __ignore_t<unsigned char>();
#else
  _LIBCUDACXX_INLINE_VAR constexpr __ignore_t<unsigned char> ignore = __ignore_t<unsigned char>();
#endif

Perhaps turning the above into:

_LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CEXPR_GLOBAL __ignore_t<unsigned char> ignore = __ignore_t<unsigned char>();

Is there `cuda::aligned_size_t` on pre-Volta devices ?

cooperative_groups::memcpy_async(
  const TyGroup &group,
  TyElem *__restrict__ dst,
  const DstLayout &dstLayout,
  const TyElem *__restrict__ src,
  const SrcLayout &srcLayout
);

requires Compute Capability 3.5 minimum, Compute Capability 8.0 for asynchronicity, C++11

cuda::aligned_size_t is only defined in <cuda/barrier> and <cuda/pipeline> which are only available for CC >= 7.0.

#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ < 700
#  error "CUDA synchronization primitives are only supported for sm_70 and up."
#endif

To use aligned_size_t on older devices, one needs to manually define aligned_size_t .

Problem example: https://cuda.godbolt.org/z/zv5v15z5W

NVCC has fixed constant evaluation and now `std/utilities/utilities.general/broken_constant_eval.pass.cpp` fails

2020-10-07 03:35:28-07:00| ******************** TEST 'libcu++ :: std/utilities/utilities.general/broken_constant_eval.pass.cpp' FAILED ********************
2020-10-07 03:35:28-07:00| Compiled With: '/sw/gpgpu/bin/x86_64_Linux_release/nvcc -o /sw/gpgpu/libcudacxx/build/libcxx/test/std/utilities/utilities.general/Output/broken_constant_eval.pass.cpp.o -x cu /sw/gpgpu/libcudacxx/.upstream-tests/test/std/utilities/utilities.general/broken_constant_eval.pass.cpp -c -v -ftemplate-depth=270 -ccbin=g++-9 -std=c++11 -include /sw/gpgpu/libcudacxx/test/support/nasty_macros.h -I/sw/gpgpu/libcudacxx/include -I/sw/gpgpu/libcudacxx/build/libcxx/include/c++build -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -Xcompiler -fno-exceptions -Xcompiler -fno-rtti -D_LIBCUDACXX_NO_RTTI -I/sw/gpgpu/libcudacxx/test/support -include /sw/gpgpu/libcudacxx/test/force_include.h -I/sw/gpgpu/libcudacxx/include -I/sw/gpgpu/libcudacxx/../cuda/tools/cooperative_groups -I/sw/gpgpu/libcudacxx/../cuda/tools/libcudacxxext --extended-lambda -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_53,code=sm_53 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_72,code=sm_72 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_80,code=compute_80 -Xcudafe --display_error_number -Werror all-warnings -Xcompiler -Wall -Xcompiler -Wextra -Xcompiler -Werror -Xcompiler -Wno-literal-suffix -Xcompiler -Wno-unused-parameter -Xcompiler -Wno-deprecated-declarations -Xcompiler -Wno-noexcept-type -Xcompiler -Wno-unused-function -D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER -c && /sw/gpgpu/bin/x86_64_Linux_release/nvcc -o /sw/gpgpu/libcudacxx/build/libcxx/test/std/utilities/utilities.general/Output/broken_constant_eval.pass.cpp.exe /sw/gpgpu/libcudacxx/build/libcxx/test/std/utilities/utilities.general/Output/broken_constant_eval.pass.cpp.o -v -ftemplate-depth=270 -ccbin=g++-9 -L/sw/gpgpu/libcudacxx/build/lib -Xcompiler "-Wl,-rpath,/sw/gpgpu/libcudacxx/build/lib" -L/sw/gpgpu/libcudacxx/build/lib -Xcompiler "-Wl,-rpath,/sw/gpgpu/libcudacxx/build/lib" -lm -lgcc_s -lgcc -lpthread -lrt -lc -lgcc_s -lgcc'
2020-10-07 03:35:28-07:00| Command: ['/sw/gpgpu/libcudacxx/build/libcxx/test/std/utilities/utilities.general/Output/broken_constant_eval.pass.cpp.exe']
2020-10-07 03:35:28-07:00| Exit Code: 0
2020-10-07 03:35:28-07:00| 
2020-10-07 03:35:28-07:00| 
2020-10-07 03:35:28-07:00| ********************
2020-10-07 03:36:10-07:00| 
2020-10-07 03:36:10-07:00| 6 warning(s) in tests
2020-10-07 03:36:10-07:00| 
2020-10-07 03:36:10-07:00| Testing Time: 355.95s
2020-10-07 03:36:10-07:00| ********************
2020-10-07 03:36:10-07:00| Unexpected Passing Tests (1):
2020-10-07 03:36:10-07:00| libcu++ :: std/utilities/utilities.general/broken_constant_eval.pass.cpp
2020-10-07 03:36:10-07:00| 
2020-10-07 03:36:10-07:00| Expected Passes    : 430
2020-10-07 03:36:10-07:00| Expected Failures  : 1
2020-10-07 03:36:10-07:00| Unsupported Tests  : 226
2020-10-07 03:36:10-07:00| Unexpected Passes  : 1
2020-10-07 03:36:10-07:00| # WALLTIME libcu++: 357.116 [sec]
2020-10-07 03:36:10-07:00| ################################################################################
2020-10-07 03:36:10-07:00| Score: 99.98%

`cuda::atomic` failures with underaligned types

The following code will fail if the default alignment (4) is used for key.

#if 1
struct key {
  int32_t a;
  int32_t b;
};
#else
struct alignas(8) key {
  int32_t a;
  int32_t b;
};
#endif
int main(){
    static_assert(alignof(key) == 4);
    cuda::atomic<key> k;
    auto r = k.load();
}

Error:

/opt/compiler-explorer/libs/libcudacxx/trunk/include/cuda/std/detail/__atomic(224): error: no suitable user-defined conversion from "cuda::std::__3::__cxx_atomic_alignment_wrapper_t<key>" to "key" exists
          detected during:
            instantiation of "_Tp cuda::std::__3::__cxx_atomic_load(const volatile cuda::std::__3::__cxx_atomic_base_impl_default<_Tp, _Sco> *, int) [with _Tp=key, _Sco=0]" 
/opt/compiler-explorer/libs/libcudacxx/trunk/include/cuda/std/detail/libcxx/include/atomic(1665): here
            instantiation of "_Tp cuda::std::__3::__atomic_base<_Tp, _Sco, <unnamed>>::load(cuda::std::__3::memory_order) const noexcept [with _Tp=key, _Sco=0, <unnamed>=false]" 

Specifying a larger alignment (8) resolves the issue.

https://godbolt.org/z/ETohMxqWb

How to use features requiring RTTI and exceptions?

The file include/cuda/std/detail/__config unconditionally disables multiple features, including RTTI and exceptions. If this header is pulled in, the subsequently included headers will have these features disabled.

The build system is a big pile of hacks

On commit 5d9c712, even a simple configure run does not work on openSUSE Tumbleweed x86_64.

» cmake .
-- The CXX compiler identification is GNU 10.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/c++
-- Check for working C compiler: /usr/bin/c++ - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "/usr/bin/c++"

  is not able to compile a simple test program.

Since I have nothing in the shell environment that sets a compiler, this must come from one of the cmake files in your project, and surely enough, just grepping for it reveals something:

CMakeLists.txt:8:if (NOT CMAKE_C_COMPILER)
CMakeLists.txt:9:  set(CMAKE_C_COMPILER ${CMAKE_CXX_COMPILER})
CMakeLists.txt:10:  set(CMAKE_C_COMPILER_ARG1 ${CMAKE_CXX_COMPILER_ARG1})

`cuda::std::complex` doesn't work with NVRTC because some `<cmath>` functions are missing

******************** TEST 'libcu++ :: std/numerics/complex.number/complex/types.pass.cpp' FAILED ********************
Compiled With: '/data/tmp/libcudacxx/utils/nvidia/nvrtc/nvrtc.sh  nvcc -o /data/tmp/libcudacxx/build/libcxx/test/std/numerics/complex.number/complex/Output/types.pass.cpp.o -x cu /data/tmp/libcudacxx/.upstream-tests/test/std/numerics/complex.number/complex/types.pass.cpp -c -v -ftemplate-depth=270 -ccbin=g++ -std=c++11 -include /data/tmp/libcudacxx/test/support/nasty_macros.h -I/data/tmp/libcudacxx/include -I/data/tmp/libcudacxx/build/libcxx/include/c++build -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -Xcompiler -fno-exceptions -Xcompiler -fno-rtti -D_LIBCUDACXX_NO_RTTI -I/data/tmp/libcudacxx/test/support -I/data/tmp/libcudacxx/include -I/data/tmp/libcudacxx/../cuda/tools/cooperative_groups -I/data/tmp/libcudacxx/../cuda/tools/libcudacxxext --extended-lambda -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_61,code=compute_61 -Xcudafe --display_error_number -Werror all-warnings -D_LIBCUDACXX_DISABLE_PRAGMA_GCC_SYSTEM_HEADER -c && /data/tmp/libcudacxx/utils/nvidia/nvrtc/nvrtc.sh  nvcc -o /data/tmp/libcudacxx/build/libcxx/test/std/numerics/complex.number/complex/Output/types.pass.cpp.exe /data/tmp/libcudacxx/build/libcxx/test/std/numerics/complex.number/complex/Output/types.pass.cpp.o -v -ftemplate-depth=270 -ccbin=g++ -L/data/tmp/libcudacxx/build/lib -Xcompiler "-Wl,-rpath,/data/tmp/libcudacxx/build/lib" -L/data/tmp/libcudacxx/build/lib -Xcompiler "-Wl,-rpath,/data/tmp/libcudacxx/build/lib" -lm -lgcc_s -lgcc -lpthread -lrt -lc -lgcc_s -lgcc'
Command: ['/data/tmp/libcudacxx/build/libcxx/test/std/numerics/complex.number/complex/Output/types.pass.cpp.exe']
Exit Code: 1
Standard Output:
--
CUDA devices found: 1
Device 0: "TITAN Xp", Selected, SM61, 12787122176 [bytes]
/data/tmp/libcudacxx/include/cuda/std/detail/libcxx/include/cmath(324): error: the global scope has no "fpclassify"
/data/tmp/libcudacxx/include/cuda/std/detail/libcxx/include/cmath(325): error: the global scope has no "isnormal"
/data/tmp/libcudacxx/include/cuda/std/detail/libcxx/include/cmath(326): error: the global scope has no "isgreater"
/data/tmp/libcudacxx/include/cuda/std/detail/libcxx/include/cmath(327): error: the global scope has no "isgreaterequ
...
  libcu++ :: std/numerics/complex.number/complex.transcendentals/tan.pass.cpp
  libcu++ :: std/numerics/complex.number/complex.transcendentals/tanh.pass.cpp
  libcu++ :: std/numerics/complex.number/complex.value.ops/abs.pass.cpp
  libcu++ :: std/numerics/complex.number/complex.value.ops/arg.pass.cpp
  libcu++ :: std/numerics/complex.number/complex.value.ops/conj.pass.cpp
  libcu++ :: std/numerics/complex.number/complex.value.ops/imag.pass.cpp
  libcu++ :: std/numerics/complex.number/complex.value.ops/norm.pass.cpp
  libcu++ :: std/numerics/complex.number/complex.value.ops/polar.pass.cpp
  libcu++ :: std/numerics/complex.number/complex.value.ops/proj.pass.cpp
  libcu++ :: std/numerics/complex.number/complex.value.ops/real.pass.cpp
  libcu++ :: std/numerics/complex.number/complex/types.fail.cpp
  libcu++ :: std/numerics/complex.number/complex/types.pass.cpp
  libcu++ :: std/numerics/complex.number/layout.pass.cpp
  libcu++ :: std/utilities/utilities.general/broken_constant_eval.pass.cpp
Testing Time: 295.06s
  Unsupported      : 434
  Passed           : 421
  Expectedly Failed:   2
  Failed           :  76
# WALLTIME libcu++: 301.531 [sec]

MSVC: `<cuda/std/tuple>` broken on cl.exe version 19.28.29910

The Visual Studio 16.9 release of cl.exe has broken <cuda/std/tuple>. It appears that there is some sort of default argument construct that breaks SFINAE even when tuple is not used.

Log from a failed test:

C:\Users\wmaxey\Documents\temp\libcudacxx\include\cuda\std\detail/libcxx/include/tuple(691): error C2938: 'cuda::std::__3::_EnableIf' : Failed to specialize alias template
C:\Users\wmaxey\Documents\temp\libcudacxx\include\cuda\std\detail/libcxx/include/tuple(691): note: see reference to alias template instantiation 'cuda::std::__3::_EnableIf<false,bool>' being compiled
C:\Users\wmaxey\Documents\temp\libcudacxx\include\cuda\std\detail/libcxx/include/tuple(1042): note: see reference to class template instantiation 'cuda::std::__3::tuple<_Tp...>' being compiled

libcu++ atomic fails to compile with address sanitizer (ASAN) enabled

In testing libcu++ for deployment in QUDA, I found that libcu++ atomic fails to compile if address sanitizer is enabled.

$ nvcc bug.cu -o bug -arch=sm_70 -Xcompiler -fsanitize=address -Ilibcudacxx/include
libcudacxx/include/cuda/std/detail/libcxx/include/__config(1466): error: attributes are not allowed here

1 error detected in the compilation of "bug.cu".

Where bug.cu is simply the following

#include <cuda/atomic>
int main() { }

I note that this is blocking us from deploying libcu++ for production in QUDA, and forcing us to keep around legacy our legacy atomicAdd-based and cudaStream approach to reductions.

Tested on the latest release 1.4.1.

windef.h include via windows.h include causes issue with "near" and "far" names

In our application related to 3D geometry, we use near and far names. Recently, we started using libcu++ and more specifically <cuda/std/atomic>. However, this causes issues as there is an indirect inclusion of "windef.h", which #defines "near" and "far" to nothing.

There are some possible workarounds, including adding #undefs for "near" and "far" after every libcu++ include, or renaming all conflicting variables.

Still, it would be preferable if libcu++ would somehow avoid or prevent these extra macro definitions coming from "windows.h".

`nodebug` attributes causing test failures under Clang 11

Example error:

2021-02-08 23:59:17-08:00| /sw/gpgpu/libcudacxx/include/cuda/std/detail/libcxx/include/tuple:1096:15: error: 'nodebug' attribute ignored when parsing type [-Werror,-Wignored-attributes]

This is reported from nvbug 200700502

License header incorrectly states that libcu++ is a part of the CUDA toolkit and does not assert copyright

Our current license header says:

//===----------------------------------------------------------------------===//
//
// Part of the CUDA Toolkit, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

libcu++ is not a part of the CUDA Toolkit. It is an independent open source project, developed on GitHub, which is released with the NVIDIA HPC SDK and the CUDA Toolkit. The license header needs to be updated to reflect this reality.

The header also needs to say "Copyright (c) YYYY NVIDIA Corporation" to assert our copyright.

Debump version 1.4.1

We need to do a 1.4.1 release to fix a few bugs, most notably fixing atomics for newer MSVC versions. We need to modify the version number in the headers to 1.4.1, preferably ASAP and not later in the cycle.

Remove `gcc-9` as expected failure from `broken_constant_eval.pass.cpp`

gcc-9/10 non-constant pass/fail

  • pass - gcc-8.4.0
  • pass - gcc-8.4.1
  • untested - gcc-9.0.0
  • pass - gcc-9.1.0
  • pass - gcc-9.3.1
  • pass - gcc-10.0.0
  • fail - gcc-10.1.0
  • fail - gcc-10.2.0

This broke tests covering gcc-9, and will break tests with gcc-10.0.
This seems consistent with different versions of NVCC.

#21 is root cause.

XFAIL pipeline tests for older CUDA versions

When we turn on gpuCI testing, we'll be testing with an older version of CUDA - probably CUDA 11.0. That means pipeline won't be available. We should mark our pipeline tests as XFAIL for older CUDA - we can do this with the nvcc-X/nvcc-X.Y feature.

Update semantics of cuda::atomic::fetch_min/max to RMW following P0493

Currently, cuda::atomic::fetch_{min,max} are semantically equivalent to a read followed by a call to min / max; there is no write.

This does not add much value over just explicitly performing the load followed by the min/max.

It does add a subtle API inconsistency, since the other fetch_ operations are RMW.

It also prevents porting atomicMax/atomicMin to cuda::atomic, and emitting red instructions.

P0493 proposes these as RMW. We should implement them that way.

Tuple CTAD is failing with NVCC + GCC and NVCC + Clang

In internal CI, we're seeing failures of some tuple CTAD tests with NVCC + GCC and NVCC + Clang.

Clang 8 (the only C++17 Clang in CI) fails:

std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp
std/utilities/utility/pairs/pairs.pair/implicit_deduction_guides.pass.cpp

GCC 8 and GCC 9 fail:

std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp

I'm not certain which of these host compilers NVCC actually supports in C++17 mode; perhaps that's part of the issue.

I'm planning to XFAIL the tests in #97, at least for the time being.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.