NVIDIA / cccl

CUDA Core Compute Libraries
https://nvidia.github.io/cccl/
Other
1.32k stars 167 forks source link

Improve documentation for building and running tests locally #953

Open gonzalobg opened 4 years ago

gonzalobg commented 4 years ago

I've followed the instructions here: https://nvidia.github.io/libcudacxx/setup/building_and_testing.html

And created the following docker container for building libcudacxx and running its tests locally:

Docker file ```docker FROM nvidia/cuda:11.0-devel-ubuntu20.04 RUN apt-get update -y && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ llvm \ llvm-dev \ cmake \ python3-pip \ && pip3 install lit ```

I build the container with:

docker build -t libcudacxx:1 -f Dockerfile .

and have this POSIX shell script called run to build the library and run its tests:

POSIX shell script ```sh #!/usr/bin/env sh set -ex export LIBCUDACXX_ROOT=/app ( cd ${LIBCUDACXX_ROOT} rm -rf build || true mkdir -p build ( cd build cmake .. \ -DLLVM_CONFIG_PATH="$(which llvm-config)" \ -DCMAKE_CXX_COMPILER=nvcc \ -DLIBCXX_NVCC_HOST_COMPILER=g++ \ -DLIBCXX_TEST_STANDARD_VER=c++17 bash -c "../utils/nvidia/linux/perform_tests.bash --skip-libcxx-tests" ) ) ```

I run the container from the root libcudacxx directory as follows

nvidia-docker run -it -v $(pwd -LP):/app -u $(id -u ${USER}):$(id -g ${USER}) libcudacxx:1 bash -c /app/run

This fails (output below). It would be nice to have executable instructions to build the library and run the tests.

Error output: ``` + export LIBCUDACXX_ROOT=/app + cd /app + rm -rf build + mkdir -p build + cd build + which llvm-config + cmake .. -DLLVM_CONFIG_PATH=/usr/bin/llvm-config -DCMAKE_CXX_COMPILER=nvcc -DLIBCXX_NVCC_HOST_COMPILER=g++ -DLIBCXX_TEST_STANDARD_VER=c++17 -- The CXX compiler identification is GNU 9.3.0 -- Check for working CXX compiler: /usr/local/cuda/bin/nvcc -- Check for working CXX compiler: /usr/local/cuda/bin/nvcc -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- The C compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/local/cuda/bin/nvcc -- Check for working C compiler: /usr/local/cuda/bin/nvcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Enabled CUDA architectures: sm_35 sm_50 sm_52 sm_53 sm_60 sm_61 sm_62 sm_70 sm_72 sm_75 sm_80 compute_80 -- Configuring for standalone build. -- Found LLVM_CONFIG_PATH as /usr/bin/llvm-config -- Linker detection: unknown -- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.5") -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - found -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG - Failed 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) -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for ccos in m -- Looking for ccos in m - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Performing Test LIBCXX_SUPPORTS_EHS_FLAG -- Performing Test LIBCXX_SUPPORTS_EHS_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_EHA_FLAG -- Performing Test LIBCXX_SUPPORTS_EHA_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_FNO_EXCEPTIONS_FLAG -- Performing Test LIBCXX_SUPPORTS_FNO_EXCEPTIONS_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_GR_FLAG -- Performing Test LIBCXX_SUPPORTS_GR_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_FNO_RTTI_FLAG -- Performing Test LIBCXX_SUPPORTS_FNO_RTTI_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_ZL_FLAG -- Performing Test LIBCXX_SUPPORTS_ZL_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIB_FLAG -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIB_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_STD_COLON_CXX11_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_COLON_CXX11_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_NOSTDINCXX_FLAG -- Performing Test LIBCXX_SUPPORTS_NOSTDINCXX_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test LIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WALL_FLAG -- Performing Test LIBCXX_SUPPORTS_WALL_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WEXTRA_FLAG -- Performing Test LIBCXX_SUPPORTS_WEXTRA_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_W_FLAG -- Performing Test LIBCXX_SUPPORTS_W_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG -- Performing Test LIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG -- Performing Test LIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG -- Performing Test LIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WNO_LITERAL_SUFFIX_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_LITERAL_SUFFIX_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WNO_CXX14_COMPAT_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_CXX14_COMPAT_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WNO_NOEXCEPT_TYPE_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_NOEXCEPT_TYPE_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG - Failed -- 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: /app/build + ../utils/nvidia/linux/perform_tests.bash --skip-libcxx-tests ################################################################################ # TEST SM Architecture Detection # DETECTION SM Architecture : Device 0, 70 ################################################################################ # VARIABLE PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # VARIABLE PWD=/app/build # VARIABLE SCRIPT_PATH=/app/.upstream-tests/utils/nvidia/linux # VARIABLE LIBCUDACXX_PATH=/app # 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=/app/libcxx/build/test/lit.site.cfg # VARIABLE LIBCUDACXX_LIT_SITE_CONFIG=/app/build/libcxx/test/lit.site.cfg # VARIABLE LIBCXX_LOG=/tmp/tmp.6eZlFmDV90 # VARIABLE LIBCUDACXX_LOG=/tmp/tmp.bp8Floq2NJ # VARIABLE LIBCXX_TEST_TARGETS=/app/libcxx/test # VARIABLE LIBCUDACXX_TEST_TARGETS=/app/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=70 # VARIABLE DEVICE_0_COMPUTE_ARCH=70 ################################################################################ # TEST libc++ : Skipped ################################################################################ # TEST libcu++ lit: /app/utils/libcxx/test/config.py:40: note: using site specific configuration at /app/build/libcxx/test/lit.site.cfg lit: /app/test/lit.cfg:45: note: Using configuration variant: libcxx lit: /app/utils/libcxx/test/config.py:360: note: inferred use_system_cxx_lib as: None lit: /app/utils/libcxx/test/config.py:245: note: detected cxx.type as: nvcc lit: /app/utils/libcxx/test/config.py:247: note: detected cxx.version as: ('11', '0', '221') lit: /app/utils/libcxx/test/config.py:249: note: detected cxx.default_dialect as: c++14 lit: /app/utils/libcxx/test/config.py:251: note: detected cxx.is_nvrtc as: False lit: /app/utils/libcxx/test/config.py:279: note: detected host_cxx.type as: gcc lit: /app/utils/libcxx/test/config.py:281: note: detected host_cxx.version as: ('9', '3', '0') lit: /app/utils/libcxx/test/config.py:283: note: detected host_cxx.default_dialect as: c++14 lit: /app/utils/libcxx/test/config.py:285: note: detected host_cxx.is_nvrtc as: False lit: /app/utils/libcxx/test/config.py:387: note: inferred use_clang_verify as: False lit: /app/utils/libcxx/test/target_info.py:67: warning: The locale en_US.UTF-8 is not supported by your platform. Some tests will be unsupported. lit: /app/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: /app/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: /app/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: /app/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: /app/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: /app/utils/libcxx/test/config.py:480: note: inferred long_tests as: True lit: /app/utils/libcxx/test/config.py:160: note: Using compiler: /usr/local/cuda/bin/nvcc lit: /app/utils/libcxx/test/config.py:161: note: Using flags: ['-v', '-ftemplate-depth=270'] lit: /app/utils/libcxx/test/config.py:165: note: Using compile flags: ['-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70'] lit: /app/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: /app/utils/libcxx/test/config.py:169: note: Using link flags: ['-ccbin=g++', '-L/app/build/lib', '-Xcompiler', '"-Wl,-rpath,/app/build/lib"', '-L/app/build/lib', '-Xcompiler', '"-Wl,-rpath,/app/build/lib"', '-lm', '-lgcc_s', '-lgcc', '-lpthread', '-lrt', '-lc', '-lgcc_s', '-lgcc'] lit: /app/utils/libcxx/test/config.py:171: note: Using available_features: ['nvcc-11', 'long_tests', 'gcc-9.3', 'libc++', 'c++filesystem-disabled', 'glibc-2.31', 'glibc', 'nvcc-11.0', 'libcpp-no-exceptions', 'gcc', 'nvcc', 'gcc-9', 'glibc-2', 'no-aligned-allocation', 'c++17', 'libcpp-no-rtti', 'dylib-has-no-filesystem', 'nvcc-11.0.221', 'linux'] lit: /app/utils/libcxx/test/config.py:177: note: Adding environment variables: {} -- Testing: 658 tests, 8 workers -- FAIL: libcu++ :: cuda/pipeline_arrive_on.pass.cpp (2 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_arrive_on.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_arrive_on.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_arrive_on.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_arrive_on.pass.cpp" -o "/tmp/tmpxft_00000362_00000000-7_pipeline_arrive_on.pass.cpp1.ii" In file included from /app/include/cuda/std/version:12, from /app/include/cuda/std/cstddef:19, from /app/include/cuda/std/atomic:39, from /app/include/cuda/std/barrier:16, from /app/include/cuda/barrier:9, from /app/.upstream-tests/test/cuda/pipeline_arrive_on.pass.cpp:15: /app/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_group_concept_thread_scope_block.pass.cpp (4 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_group_concept_thread_scope_block.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_group_concept_thread_scope_block.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_block.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_block.pass.cpp" -o "/tmp/tmpxft_00000376_00000000-7_pipeline_group_concept_thread_scope_block.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_block.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_group_concept.h:11:10: fatal error: cuda/pipeline: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_group_concept_thread_scope_device.pass.cpp (5 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_group_concept_thread_scope_device.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_group_concept_thread_scope_device.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_device.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_device.pass.cpp" -o "/tmp/tmpxft_0000037e_00000000-7_pipeline_group_concept_thread_scope_device.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_device.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_group_concept.h:11:10: fatal error: cuda/pipeline: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_group_concept_thread_scope_system.pass.cpp (6 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_group_concept_thread_scope_system.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_group_concept_thread_scope_system.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_system.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_system.pass.cpp" -o "/tmp/tmpxft_00000386_00000000-7_pipeline_group_concept_thread_scope_system.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_group_concept_thread_scope_system.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_group_concept.h:11:10: fatal error: cuda/pipeline: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_producer_consumer.pass.cpp (7 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_producer_consumer.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_producer_consumer.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp" -o "/tmp/tmpxft_0000038c_00000000-7_pipeline_memcpy_async_producer_consumer.pass.cpp1.ii" /app/.upstream-tests/test/cuda/pipeline_memcpy_async_producer_consumer.pass.cpp:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp (8 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_block_16.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp" -o "/tmp/tmpxft_00000392_00000000-7_pipeline_memcpy_async_thread_scope_block_16.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_16.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp (9 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_block_32.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp" -o "/tmp/tmpxft_00000398_00000000-7_pipeline_memcpy_async_thread_scope_block_32.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_32.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp (10 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_block_64.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp" -o "/tmp/tmpxft_000003a0_00000000-7_pipeline_memcpy_async_thread_scope_block_64.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_64.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp (11 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_block_8.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp" -o "/tmp/tmpxft_000003a6_00000000-7_pipeline_memcpy_async_thread_scope_block_8.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_8.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp (12 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp" -o "/tmp/tmpxft_000003ac_00000000-7_pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_block_large_type.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp (13 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_device_16.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp" -o "/tmp/tmpxft_000003b7_00000000-7_pipeline_memcpy_async_thread_scope_device_16.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_16.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp (14 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_device_32.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp" -o "/tmp/tmpxft_000003bf_00000000-7_pipeline_memcpy_async_thread_scope_device_32.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_32.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp (15 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_device_64.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp" -o "/tmp/tmpxft_000003c5_00000000-7_pipeline_memcpy_async_thread_scope_device_64.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_64.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp (16 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_device_8.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp" -o "/tmp/tmpxft_000003cb_00000000-7_pipeline_memcpy_async_thread_scope_device_8.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_8.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp (17 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp" -o "/tmp/tmpxft_000003d1_00000000-7_pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_device_large_type.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp (18 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_system_16.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp" -o "/tmp/tmpxft_000003d7_00000000-7_pipeline_memcpy_async_thread_scope_system_16.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_16.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp (19 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_system_32.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp" -o "/tmp/tmpxft_000003dd_00000000-7_pipeline_memcpy_async_thread_scope_system_32.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_32.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp (20 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_system_64.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp" -o "/tmp/tmpxft_000003e8_00000000-7_pipeline_memcpy_async_thread_scope_system_64.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_64.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp (21 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_system_8.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp" -o "/tmp/tmpxft_000003ee_00000000-7_pipeline_memcpy_async_thread_scope_system_8.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_8.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp (22 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp" -o "/tmp/tmpxft_000003f4_00000000-7_pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_system_large_type.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_generic.h:12:10: fatal error: cuda/pipeline: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp (23 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp" -o "/tmp/tmpxft_000003fa_00000000-7_pipeline_memcpy_async_thread_scope_thread_16.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_16.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread.h:11:10: fatal error: cuda/pipeline: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp (24 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp" -o "/tmp/tmpxft_00000400_00000000-7_pipeline_memcpy_async_thread_scope_thread_32.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_32.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread.h:11:10: fatal error: cuda/pipeline: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp (25 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp" -o "/tmp/tmpxft_00000406_00000000-7_pipeline_memcpy_async_thread_scope_thread_8.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_8.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread.h:11:10: fatal error: cuda/pipeline: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** FAIL: libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp (26 of 658) ******************** TEST 'libcu++ :: cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp' FAILED ******************** Command: ['/usr/local/cuda/bin/nvcc', '-o', '/app/build/libcxx/test/cuda/Output/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp.o', '-x', 'cu', '/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp', '-c', '-v', '-ftemplate-depth=270', '-ccbin=g++', '-std=c++17', '-include', '/app/test/support/nasty_macros.h', '-I/app/include', '-I/app/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/app/test/support', '-include', '/app/test/force_include.h', '-I/app/include', '-I/app/../cuda/tools/cooperative_groups', '-I/app/../cuda/tools/libcudacxxext', '--extended-lambda', '-gencode=arch=compute_70,code=sm_70', '-gencode=arch=compute_70,code=compute_70', '-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/nvidia/lib:/usr/local/nvidia/lib64 #$ PATH=/usr/local/cuda/bin/../nvvm/bin:/usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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++17 -D__CUDA_ARCH__=700 -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"/app/include" -I"/app/build/libcxx/include/c++build" -I"/app/test/support" -I"/app/include" -I"/app/../cuda/tools/cooperative_groups" -I"/app/../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 "/app/test/support/nasty_macros.h" -include "/app/test/force_include.h" -Werror -m64 "/app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp" -o "/tmp/tmpxft_0000041c_00000000-7_pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp1.ii" In file included from /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread_large_type.pass.cpp:11: /app/.upstream-tests/test/cuda/pipeline_memcpy_async_thread_scope_thread.h:11:10: fatal error: cuda/pipeline: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. # --error 0x1 -- -- Compilation failed unexpectedly! ******************** ^C################################################################################ Score: 0.00% ```
gonzalobg commented 4 years ago

I've managed to build and run tests locally with these files:

Docker file ```docker FROM nvidia/cuda:11.1-devel-ubuntu20.04 RUN apt-get update -y && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ llvm \ llvm-dev \ cmake \ python3-pip \ && pip3 install lit ```
POSIX shell script ```run #!/usr/bin/env sh set -ex export LIBCUDACXX_ROOT=/app ( cd ${LIBCUDACXX_ROOT} rm -rf build || true mkdir -p build ( cd build cmake .. \ -DLLVM_CONFIG_PATH="$(which llvm-config)" \ -DCMAKE_CXX_COMPILER=nvcc \ -DLIBCXX_NVCC_HOST_COMPILER=g++ \ -DLIBCXX_TEST_STANDARD_VER=c++17 bash -c "../utils/nvidia/linux/perform_tests.bash --skip-libcxx-tests" ) ) ```

It would be nice to have documentation that's guaranteed to work about how to do this.

I see that there is a similar system in https://github.com/NVIDIA/libcudacxx/tree/main/docker , but it is not clear to me how to run this system locally. If this is intended as a CI system, it should be documented how to execute it locally so that CI errors can be easily reproduced.

gonzalobg commented 5 months ago

We should have a script in ./ci that can be used like this:

./ci/run_docker libcudacxx 

That only requires docker and builds and runs all sub-project tests.

Ideally:

./ci/run_docker libcudacxx  libcudacxx/test/libcudacxx/cuda/memcpy_async_16.pass.cpp

would run one test,

./ci/run_docker libcudacxx  libcudacxx/test/libcudacxx/cuda

would run all tests in the directory, etc.

The documentation for this should be somewhere quickly reachable for first contributors, which may loose interest in contributing if that requires spending a lot of time setting up a development environment aimed at regular contributors.

For example, at the top of the CONTRIBUTING.md, adding this:

If you are on Linux and have docker, the quickest way to run tests is to just:

# Run all tests
$ ./ci/run_docker
# Run all sub-project tests
$ ./ci/run_docker libcudacxx
# Run all tests in a folder 
$ ./ci/run_docker libcudacxx  libcudacxx/test/libcudacxx/cuda
# Run one single test
$ ./ci/run_docker libcudacxx  libcudacxx/test/libcudacxx/cuda/memcpy_async_16.pass.cpp
jrhemstad commented 5 months ago

@gonzalobg have you reviewed our contributing guide?

What you are asking for already exists.

Set up development container: https://github.com/NVIDIA/cccl/blob/main/.devcontainer/README.md Build and run tests: https://github.com/NVIDIA/cccl/blob/main/CONTRIBUTING.md#building-and-testing

I understand that you are looking for a script to both start the container and run the tests in a single step, but this isn't actually a good idea. As header-only libraries, you need to select which host compiler/CUDA version you want to compile the tests with. This is why the container setup and build/run tests are separate steps.

gonzalobg commented 5 months ago

Yes, I've reviewed the documentation, and it does not document a single command, that configures, builds, and runs the tests of a sub-project.

There is a set of two documented commands to achieve this, but 2 commands is not 1, and these two commands do not work unless one is setting up an interactive development environment: without @trxcllnt fixes here and here, they error, and as documented, they do not build and run the tests, but rather require interactive interaction with the CLI (to, e.g., set up a github user for git by clicking through the web browser...).

With the fixes, and some days of hacking, something like the following may eventually work, but doesn't work yet because:

#!/usr/bin/env sh
set -ex

case $1 in
    test)
        # Runs selected test only:
    SSH_AUTH_SOCK= ./.devcontainer/launch.sh -e VAULT_HOST= --docker -- /bin/bash -lic "lit -sv build/cuda12.4-gcc13/libcudacxx-cpp17/libcudacxx/test/libcudacxx/$2"
    ;;
    *)
    # Configures, Builds, and Runs all tests:
        SSH_AUTH_SOCK= ./.devcontainer/launch.sh -e VAULT_HOST= --docker -- /bin/bash -lic "./ci/test_libcudacxx.sh ${@}"
    ;;
esac

6 months ago, a similar script configured, built, and ran the tests, with zero setup required except for docker available. What it currently takes to build and run the tests, is quite far from what's documented (see the env vars and parameters that have to be passed to launch.sh). I think there should be a script that makes documenting this as concise and easy as:

Welcome, if you want to modify libcudacxx, just:

# configure, build, and run the tests
$ ./ci/run_libcudacxx 
# run a particular set of tests
$ ./ci/run_libcudacxx cuda/

That's all that's required. We also provide a full development environment that "just works" with VSCode. If you want to set that up, here are some pages of documentation about it: link.

jrhemstad commented 5 months ago

The title of this issue is to "Improve documentation for building and running tests locally".

I have provided links to exhaustive documentation on how to very convenient set up a development environment and build/run tests. If there are issues in that documentation, please list what improvements you would like.

I think there should be a script that makes documenting this as concise and easy as:

This would be a separate feature request, but I don't think it is a feature we would provide as described.

Today, what you are asking for can be done in two commands instead of one:

./.devcontainer/launch.sh --docker
./ci/build_libcudacxx.sh

Thanks to some recent work from @trxcllnt, you can do this as a one-liner (but still two commands) as:

./.devcontainer/launch.sh --docker -- ./ci/build_libcudacxx.sh

This is brand new, undocumented functionality and the kinks aren't fully worked out, so understandably you are likely to run into issues through this route.

run a particular set of tests $ ./ci/run_libcudacxx cuda/

This is not functionality we will ever provide via the top-level build scripts. This request is very unique to libcudacxx's lit tests, and would not make sense to expose through our top-level build scripts. This functionality would require going down to use lit directly.