|
6 | 6 | //
|
7 | 7 | //===----------------------------------------------------------------------===//
|
8 | 8 |
|
9 |
| -// REQUIRES: opencl-aot, ocloc, aoc, cpu, gpu, accelerator |
| 9 | +// REQUIRES: opencl-aot, ocloc, aoc, cpu, gpu, accelerator, llvm-link, llvm-spirv |
10 | 10 | // UNSUPPORTED: cuda
|
11 | 11 | // CUDA is not compatible with SPIR.
|
12 | 12 |
|
|
18 | 18 | // RUN: %GPU_RUN_PLACEHOLDER %t_all.out
|
19 | 19 | // RUN: %ACC_RUN_PLACEHOLDER %t_all.out
|
20 | 20 |
|
21 |
| -// FIXME: Change the behaviour when proper automaton for assert support is |
| 21 | +// FIXME: Change the behavior when proper automaton for assert support is |
22 | 22 | // introduced
|
23 | 23 | // Produce object file, spirv, device images to combine these differently
|
24 | 24 | // at link-time, thus testing various AOT-compiled images configurations
|
|
27 | 27 | // AOT-compile device binary images
|
28 | 28 | // Neither of AOT tools can compile several files, hence, here is this
|
29 | 29 | // workaround
|
30 |
| -// RUN: %LLVM_SPIRV -r %sycl_libs_dir/libsycl-fallback-cassert.spv -o=%T/fallback-cassert.bc |
31 |
| -// RUN: %LLVM_SPIRV -r %t.spv -o=%t.bc |
32 |
| -// RUN: %LLVM_LINK %t.bc %T/fallback-cassert.bc -o=%t2.bc |
33 |
| -// RUN: %LLVM_SPIRV %t2.bc -o=%t.spv |
| 30 | +// RUN: %llvm_spirv -r %sycl_libs_dir/libsycl-fallback-cassert.spv -o=%T/fallback-cassert.bc |
| 31 | +// RUN: %llvm_spirv -r %t.spv -o=%t.bc |
| 32 | +// RUN: %llvm_link %t.bc %T/fallback-cassert.bc -o=%t2.bc |
| 33 | +// RUN: %llvm_spirv %t2.bc -o=%t.spv |
34 | 34 | // RUN: opencl-aot %t.spv -o=%t_cpu.ir --device=cpu
|
35 | 35 | // RUN: ocloc -file %t.spv -spirv_input -output %t_gen.out -output_no_suffix -device cfl
|
36 | 36 | // RUN: aoc %t.spv -o %t_fpga.aocx -sycl -dep-files=%t.d
|
|
0 commit comments