|
7 | 7 | // FIXME: Force linux targets to allow for the libraries to be found. Dummy |
8 | 8 | // inputs for --sysroot should be updated to work better for Windows. |
9 | 9 |
|
10 | | -// RUN: %clangxx -target x86_64-unknown-linux-gnu -fsycl --no-offload-new-driver --sysroot=%S/Inputs/SYCL -fsycl-targets=spir64 -### %s 2>&1 \ |
| 10 | +// RUN: %clangxx -target x86_64-unknown-linux-gnu -fsycl --no-offload-new-driver -fsycl-instrument-device-code --sysroot=%S/Inputs/SYCL -fsycl-targets=spir64 -### %s 2>&1 \ |
11 | 11 | // RUN: | FileCheck -check-prefixes=CHECK-SPIRV,CHECK-HOST %s |
12 | | -// RUN: %clangxx -target x86_64-unknown-linux-gnu -fsycl --no-offload-new-driver -fpreview-breaking-changes -fsycl-instrument-device-code --sysroot=%S/Inputs/SYCL -fsycl-targets=spir64 -### %s 2>&1 \ |
13 | | -// RUN: | FileCheck -check-prefixes=CHECK-SPIRV,CHECK-HOST %s |
14 | | - |
15 | 12 | // -fno-sycl-device-lib mustn't affect the linkage of ITT libraries |
16 | | -// RUN: %clangxx -target x86_64-unknown-linux-gnu -fsycl --no-offload-new-driver --sysroot=%S/Inputs/SYCL -fno-sycl-device-lib=all -fsycl-targets=spir64 -### %s 2>&1 \ |
17 | | -// RUN: | FileCheck -check-prefixes=CHECK-SPIRV %s |
18 | | -// RUN: %clangxx -target x86_64-unknown-linux-gnu -fsycl --no-offload-new-driver -fpreview-breaking-changes -fsycl-instrument-device-code --sysroot=%S/Inputs/SYCL -fno-sycl-device-lib=all -fsycl-targets=spir64 -### %s 2>&1 \ |
| 13 | +// RUN: %clangxx -target x86_64-unknown-linux-gnu -fsycl --no-offload-new-driver -fsycl-instrument-device-code --sysroot=%S/Inputs/SYCL -fno-sycl-device-lib=all -fsycl-targets=spir64 -### %s 2>&1 \ |
19 | 14 | // RUN: | FileCheck -check-prefixes=CHECK-SPIRV %s |
20 | 15 |
|
21 | 16 | // CHECK-SPIRV: "-cc1"{{.*}} "-fsycl-is-device"{{.*}} "-fsycl-instrument-device-code" |
|
30 | 25 | // RUN: %clangxx -fsycl --no-offload-new-driver -fsycl-targets=nvptx64-nvidia-cuda -fno-sycl-instrument-device-code -nocudalib -### %s 2>&1 \ |
31 | 26 | // RUN: | FileCheck -check-prefixes=CHECK-NONPASSED %s |
32 | 27 |
|
33 | | -// ITT annotations are disabled by default under -fpreview-breaking-changes. |
34 | | -// RUN: %clangxx -target x86_64-unknown-linux-gnu -fsycl --no-offload-new-driver -fpreview-breaking-changes --sysroot=%S/Inputs/SYCL -fno-sycl-device-lib=all -fsycl-targets=spir64 -### %s 2>&1 \ |
35 | | -// RUN: | FileCheck -check-prefixes=CHECK-NONPASSED %s |
36 | | -// RUN: %clangxx -target x86_64-unknown-linux-gnu -fsycl --no-offload-new-driver -fpreview-breaking-changes --sysroot=%S/Inputs/SYCL -fsycl-targets=spir64 -### %s 2>&1 \ |
37 | | -// RUN: | FileCheck -check-prefixes=CHECK-NONPASSED %s |
38 | | - |
39 | 28 | // CHECK-NONPASSED-NOT: "-fsycl-instrument-device-code" |
40 | 29 | // CHECK-NONPASSED-NOT: llvm-link{{.*}} {{.*}}libsycl-itt-{{.*}}.bc" |
0 commit comments