-
Notifications
You must be signed in to change notification settings - Fork 803
Closed
Labels
CTSImpacts Khronos SYCL CTSImpacts Khronos SYCL CTSbugSomething isn't workingSomething isn't workingcompilerCompiler related issueCompiler related issuecudaCUDA back-endCUDA back-end
Description
Describe the bug
[Regression][CUDA] Multiple cts/math_builtin_* tests crashed on build with error: llvm-foreach: Segmentation fault (core dumped)
First failed
https://github.com/intel/llvm.git c89a914
Last passed
https://github.com/intel/llvm.git 9f2b7bd
To Reproduce
cd SYCL-CTS
mkdir build && cd build
cmake -G "Ninja" -DSYCL_IMPLEMENTATION=Intel_SYCL -DINTEL_SYCL_ROOT=<path to built sycl> -DOpenCL_LIBRARY=<path to built sycl>/lib/libOpenCL.so -DOpenCL_INCLUDE_DIR=<path to built sycl>/include/sycl -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE=" " -DINTEL_SYCL_FLAGS="-fsycl-device-code-split=per_source;-Wno-deprecated-declarations;-fsycl;-fsycl-unnamed-lambda" -DCMAKE_EXE_LINKER_FLAGS=" -Wl,-no-relax " -DINTEL_SYCL_TRIPLE=nvptx64-nvidia-cuda -DSYCL_CTS_ENABLE_OPENCL_INTEROP_TESTS=Off -DSYCL_CTS_ENABLE_DOUBLE_TESTS=On -DSYCL_CTS_ENABLE_HALF_TESTS=On ..
ninja -j 7 -k 0 -v test_math_builtin_api
Error message:
FAILED: bin/test_math_builtin_api.
: && <path to built sycl>/bin/clang++ -DSYCL2020_CONFORMANT_APIS -DSYCL2020_DISABLE_DEPRECATION_WARNINGS -D__SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING__ llvm-foreach: Segmentation fault (core dumped)
clang++: error: ptxas command failed with exit code 254 (use -v to see invocation)
clang version 14.0.0 (https://github.com/intel/llvm.git c89a9148355b2e30d68513b5bed0d73b09515561)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: <path to built sycl>/bin
clang++: note: diagnostic msg: Error generating preprocessed source(s).
ninja: build stopped: cannot make progress due to previous errors.
Environment
- OS: Linux
- Target device and vendor: Nvidia GPU
- DPC++ version: https://github.com/intel/llvm.git c89a914
- CUDA version:
nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.57.02 Driver Version: 470.57.02 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
Metadata
Metadata
Assignees
Labels
CTSImpacts Khronos SYCL CTSImpacts Khronos SYCL CTSbugSomething isn't workingSomething isn't workingcompilerCompiler related issueCompiler related issuecudaCUDA back-endCUDA back-end