File tree Expand file tree Collapse file tree 10 files changed +32
-46
lines changed Expand file tree Collapse file tree 10 files changed +32
-46
lines changed Original file line number Diff line number Diff line change 11
11
// -- Basic test for compiling and loading a SYCLBIN kernel_bundle in executable
12
12
// -- state.
13
13
14
- // Due to the regression in https://github.com/intel/llvm/issues/18432 it will
15
- // fail to build the SYCLBIN with nvptx targets. Once this is fixed,
16
- // %{sycl_target_opts} should be added to the SYCLBIN generation run-line.
17
- // REQUIRES: target-spir
14
+ // SYCLBIN currently only properly detects SPIR-V binaries.
15
+ // XFAIL: !target-spir
16
+ // XFAIL-TRACKER: CMPLRLLVM-68811
18
17
19
- // RUN: %clangxx --offload-new-driver -fsyclbin=executable %S/Inputs/basic_kernel.cpp -o %t.syclbin
18
+ // RUN: %clangxx --offload-new-driver -fsyclbin=executable %{sycl_target_opts} % S/Inputs/basic_kernel.cpp -o %t.syclbin
20
19
// RUN: %{build} -o %t.out
21
20
// RUN: %{l0_leak_check} %{run} %t.out %t.syclbin
22
21
Original file line number Diff line number Diff line change 11
11
// -- Basic test for compiling and loading a SYCLBIN kernel_bundle in input
12
12
// -- state.
13
13
14
- // Due to the regression in https://github.com/intel/llvm/issues/18432 it will
15
- // fail to build the SYCLBIN with nvptx targets. Once this is fixed,
16
- // %{sycl_target_opts} should be added to the SYCLBIN generation run-line.
17
- // REQUIRES: target-spir
14
+ // SYCLBIN currently only properly detects SPIR-V binaries.
15
+ // XFAIL: !target-spir
16
+ // XFAIL-TRACKER: CMPLRLLVM-68811
18
17
19
- // RUN: %clangxx --offload-new-driver -fsyclbin=input %S/Inputs/basic_kernel.cpp -o %t.syclbin
18
+ // RUN: %clangxx --offload-new-driver -fsyclbin=input %{sycl_target_opts} % S/Inputs/basic_kernel.cpp -o %t.syclbin
20
19
// RUN: %{build} -o %t.out
21
20
// RUN: %{l0_leak_check} %{run} %t.out %t.syclbin
22
21
Original file line number Diff line number Diff line change 11
11
// -- Basic test for compiling and loading a SYCLBIN kernel_bundle in object
12
12
// -- state.
13
13
14
- // Due to the regression in https://github.com/intel/llvm/issues/18432 it will
15
- // fail to build the SYCLBIN with nvptx targets. Once this is fixed,
16
- // %{sycl_target_opts} should be added to the SYCLBIN generation run-line.
17
- // REQUIRES: target-spir
14
+ // SYCLBIN currently only properly detects SPIR-V binaries.
15
+ // XFAIL: !target-spir
16
+ // XFAIL-TRACKER: CMPLRLLVM-68811
18
17
19
- // RUN: %clangxx --offload-new-driver -fsyclbin=object %S/Inputs/basic_kernel.cpp -o %t.syclbin
18
+ // RUN: %clangxx --offload-new-driver -fsyclbin=object %{sycl_target_opts} % S/Inputs/basic_kernel.cpp -o %t.syclbin
20
19
// RUN: %{build} -o %t.out
21
20
// RUN: %{l0_leak_check} %{run} %t.out %t.syclbin
22
21
Original file line number Diff line number Diff line change 10
10
11
11
// -- Test for linking two SYCLBIN kernel_bundle.
12
12
13
- // Due to the regression in https://github.com/intel/llvm/issues/18432 it will
14
- // fail to build the SYCLBIN with nvptx targets. Once this is fixed,
15
- // %{sycl_target_opts} should be added to the SYCLBIN generation run-line.
13
+ // ptxas currently fails to compile images with unresolved symbols. Disable for
14
+ // other targets than SPIR-V until this has been resolved. (CMPLRLLVM-68810)
15
+ // Note: %{sycl_target_opts} should be added to the SYCLBIN compilation lines
16
+ // once fixed.
16
17
// REQUIRES: target-spir
17
18
18
19
// RUN: %clangxx --offload-new-driver -fsyclbin=input -fsycl-allow-device-image-dependencies %S/Inputs/exporting_function.cpp -o %t.export.syclbin
Original file line number Diff line number Diff line change 10
10
11
11
// -- Test for linking two SYCLBIN kernel_bundle.
12
12
13
- // Due to the regression in https://github.com/intel/llvm/issues/18432 it will
14
- // fail to build the SYCLBIN with nvptx targets. Once this is fixed,
15
- // %{sycl_target_opts} should be added to the SYCLBIN generation run-line.
13
+ // ptxas currently fails to compile images with unresolved symbols. Disable for
14
+ // other targets than SPIR-V until this has been resolved. (CMPLRLLVM-68810)
15
+ // Note: %{sycl_target_opts} should be added to the SYCLBIN compilation lines
16
+ // once fixed.
16
17
// REQUIRES: target-spir
17
18
18
19
// RUN: %clangxx --offload-new-driver -fsyclbin=object -fsycl-allow-device-image-dependencies %S/Inputs/exporting_function.cpp -o %t.export.syclbin
Original file line number Diff line number Diff line change 15
15
// -- Test for linking where one kernel is runtime-compiled and one is compiled
16
16
// -- to SYCLBIN.
17
17
18
- // Due to the regression in https://github.com/intel/llvm/issues/18432 it will
19
- // fail to build the SYCLBIN with nvptx targets. Once this is fixed,
20
- // %{sycl_target_opts} should be added to the SYCLBIN generation run-line.
21
- // REQUIRES: target-spir
22
-
23
18
// RUN: %clangxx --offload-new-driver -fsyclbin=input -fsycl-allow-device-image-dependencies %S/Inputs/exporting_function.cpp -o %t.syclbin
24
19
// RUN: %{build} -o %t.out
25
20
// RUN: %{l0_leak_check} %{run} %t.out %t.syclbin
Original file line number Diff line number Diff line change 15
15
// -- Test for linking where one kernel is runtime-compiled and one is compiled
16
16
// -- to SYCLBIN.
17
17
18
- // Due to the regression in https://github.com/intel/llvm/issues/18432 it will
19
- // fail to build the SYCLBIN with nvptx targets. Once this is fixed,
20
- // %{sycl_target_opts} should be added to the SYCLBIN generation run-line.
21
- // REQUIRES: target-spir
22
-
23
18
// RUN: %clangxx --offload-new-driver -fsyclbin=object -fsycl-allow-device-image-dependencies %S/Inputs/exporting_function.cpp -o %t.syclbin
24
19
// RUN: %{build} -o %t.out
25
20
// RUN: %{l0_leak_check} %{run} %t.out %t.syclbin
Original file line number Diff line number Diff line change 11
11
// -- Test for compiling and loading a kernel bundle with a SYCLBIN containing
12
12
// the use of optional kernel features.
13
13
14
- // Due to the regression in https://github.com/intel/llvm/issues/18432 it will
15
- // fail to build the SYCLBIN with nvptx targets. Once this is fixed,
16
- // %{sycl_target_opts} should be added to the SYCLBIN generation run-line.
17
- // REQUIRES: target-spir
14
+ // SYCLBIN currently only properly detects SPIR-V binaries.
15
+ // XFAIL: !target-spir
16
+ // XFAIL-TRACKER: CMPLRLLVM-68811
18
17
19
- // RUN: %clangxx --offload-new-driver -fsyclbin=executable %S/Inputs/optional_kernel_features.cpp -o %t.syclbin
18
+ // RUN: %clangxx --offload-new-driver -fsyclbin=executable %{sycl_target_opts} % S/Inputs/optional_kernel_features.cpp -o %t.syclbin
20
19
// RUN: %{build} -o %t.out
21
20
// RUN: %{l0_leak_check} %{run} %t.out %t.syclbin
22
21
Original file line number Diff line number Diff line change 11
11
// -- Test for compiling and loading a kernel bundle with a SYCLBIN containing
12
12
// the use of optional kernel features.
13
13
14
- // Due to the regression in https://github.com/intel/llvm/issues/18432 it will
15
- // fail to build the SYCLBIN with nvptx targets. Once this is fixed,
16
- // %{sycl_target_opts} should be added to the SYCLBIN generation run-line.
17
- // REQUIRES: target-spir
14
+ // SYCLBIN currently only properly detects SPIR-V binaries.
15
+ // XFAIL: !target-spir
16
+ // XFAIL-TRACKER: CMPLRLLVM-68811
18
17
19
- // RUN: %clangxx --offload-new-driver -fsyclbin=input %S/Inputs/optional_kernel_features.cpp -o %t.syclbin
18
+ // RUN: %clangxx --offload-new-driver -fsyclbin=input %{sycl_target_opts} % S/Inputs/optional_kernel_features.cpp -o %t.syclbin
20
19
// RUN: %{build} -o %t.out
21
20
// RUN: %{l0_leak_check} %{run} %t.out %t.syclbin
22
21
Original file line number Diff line number Diff line change 12
12
// -- Test for compiling and loading a kernel bundle with a SYCLBIN containing
13
13
// the use of optional kernel features.
14
14
15
- // Due to the regression in https://github.com/intel/llvm/issues/18432 it will
16
- // fail to build the SYCLBIN with nvptx targets. Once this is fixed,
17
- // %{sycl_target_opts} should be added to the SYCLBIN generation run-line.
18
- // REQUIRES: target-spir
15
+ // SYCLBIN currently only properly detects SPIR-V binaries.
16
+ // XFAIL: !target-spir
17
+ // XFAIL-TRACKER: CMPLRLLVM-68811
19
18
20
- // RUN: %clangxx --offload-new-driver -fsyclbin=object %S/Inputs/optional_kernel_features.cpp -o %t.syclbin
19
+ // RUN: %clangxx --offload-new-driver -fsyclbin=object %{sycl_target_opts} % S/Inputs/optional_kernel_features.cpp -o %t.syclbin
21
20
// RUN: %{build} -o %t.out
22
21
// RUN: %{l0_leak_check} %{run} %t.out %t.syclbin
23
22
You can’t perform that action at this time.
0 commit comments