File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2626// RUN: %clangxx -fsycl --no-offload-new-driver -fsycl-targets=spir64 -### \
2727// RUN: --sysroot=%S/Inputs/SYCL %s 2>&1 \
2828// RUN: | FileCheck -check-prefixes=CHECK-ITT-LINK-ONLY %s
29- // RUN: %clangxx -fsycl --no-offload-new-driver --sysroot=%S/Inputs/SYCL \
30- // RUN: -fsycl-targets=nvptx64-nvidia-cuda -nocudalib -### %s 2>&1 \
31- // RUN: | FileCheck -check-prefixes=CHECK-NONPASSED %s
3229
3330// CHECK-ITT-LINK-ONLY-NOT: "-fsycl-instrument-device-code"
3431// CHECK-ITT-LINK-ONLY: llvm-link{{.*}} {{.*}}libsycl-itt-{{.*}}
3532
33+ // Verify that ITT annotations are not pulled in for non-SPIR-V targets as
34+ // well as when device code instrumentation is explicitly turned off.
35+ // RUN: %clangxx -fsycl --no-offload-new-driver --sysroot=%S/Inputs/SYCL \
36+ // RUN: -fsycl-targets=nvptx64-nvidia-cuda -nocudalib -### %s 2>&1 \
37+ // RUN: | FileCheck -check-prefixes=CHECK-NONPASSED %s
3638// RUN: %clangxx -fsycl --no-offload-new-driver --sysroot=%S/Inputs/SYCL \
3739// RUN: -fno-sycl-instrument-device-code -fsycl-targets=spir64 -### %s 2>&1 \
3840// RUN: | FileCheck -check-prefixes=CHECK-NONPASSED %s
You can’t perform that action at this time.
0 commit comments