|
6 | 6 | // RUN: -fsycl-targets=nvptx64-nvidia-cuda --cuda-path=%S/Inputs/CUDA/usr/local/cuda \
|
7 | 7 | // RUN: -fsycl-libspirv-path=%S/Inputs/SYCL/no-libspirv-exists-here.bc %s 2>&1 \
|
8 | 8 | // RUN: | FileCheck --check-prefix=ERR-CUDA %s
|
9 |
| -// ERR-CUDA: cannot find 'remangled-l64-signed_char.libspirv-nvptx64--nvidiacl.bc' |
| 9 | +// ERR-CUDA: cannot find 'remangled-l64-signed_char.libspirv-nvptx64--nvidiacl.bc'; |
| 10 | +// ERR-CUDA-SAME: provide path to libspirv library via '-fsycl-libspirv-path', or pass '-fno-sycl-libspirv' to build without linking with libspirv |
10 | 11 |
|
11 | 12 | // RUN: %clangxx -### -std=c++11 -target x86_64-unknown-windows-msvc -fsycl \
|
12 | 13 | // RUN: -fsycl-targets=nvptx64-nvidia-cuda --cuda-path=%S/Inputs/CUDA/usr/local/cuda \
|
13 | 14 | // RUN: -fsycl-libspirv-path=%S/Inputs/SYCL/no-libspirv-exists-here.bc %s 2>&1 \
|
14 | 15 | // RUN: | FileCheck --check-prefix=ERR-CUDA-WIN %s
|
15 |
| -// ERR-CUDA-WIN: cannot find 'remangled-l32-signed_char.libspirv-nvptx64--nvidiacl.bc' |
| 16 | +// ERR-CUDA-WIN: cannot find 'remangled-l32-signed_char.libspirv-nvptx64--nvidiacl.bc'; |
| 17 | +// ERR-CUDA-WIN-SAME: provide path to libspirv library via '-fsycl-libspirv-path', or pass '-fno-sycl-libspirv' to build without linking with libspirv |
16 | 18 |
|
17 | 19 | // RUN: %clangxx -### -std=c++11 -target x86_64-unknown-linux-gnu -fsycl \
|
18 | 20 | // RUN: -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend --offload-arch=gfx908 \
|
19 | 21 | // RUN: -fsycl-libspirv-path=%S/Inputs/SYCL/no-libspirv-exists-here.bc %s 2>&1 \
|
20 | 22 | // RUN: | FileCheck --check-prefix=ERR-HIP %s
|
21 |
| -// ERR-HIP: cannot find 'remangled-l64-signed_char.libspirv-amdgcn--amdhsa.bc' |
| 23 | +// ERR-HIP: cannot find 'remangled-l64-signed_char.libspirv-amdgcn--amdhsa.bc'; |
| 24 | +// ERR-HIP-SAME: provide path to libspirv library via '-fsycl-libspirv-path', or pass '-fno-sycl-libspirv' to build without linking with libspirv |
22 | 25 |
|
23 | 26 | // RUN: %clangxx -### -std=c++11 -target x86_64-unknown-linux-gnu -fsycl \
|
24 | 27 | // RUN: -fsycl-targets=nvptx64-nvidia-cuda --cuda-path=%S/Inputs/CUDA/usr/local/cuda \
|
|
0 commit comments