Skip to content

Commit ebc1488

Browse files
Artem Gindinsonvladimirlaz
authored andcommitted
[SYCL][NFC] Clean up options in aot/multiple-devices.cpp test commands
Any specific AOT target triples prove obsolete for the commands that are used to produce SPIR-V, the latter being completely device-agnostic. Subarch-specific AOT compilers will accept it just as well. Signed-off-by: Artem Gindinson <[email protected]>
1 parent 6d0b326 commit ebc1488

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test/aot/multiple-devices.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// REQUIRES: ioc64, ocloc, aoc
1010

1111
// Produce object file, spirv
12-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-linux-sycldevice,spir64_gen-unknown-linux-sycldevice,spir64_fpga-unknown-linux-sycldevice %s -c -o %t.o
13-
// RUN: %clangxx -fsycl -fsycl-link-targets=spir64_x86_64-unknown-linux-sycldevice,spir64_gen-unknown-linux-sycldevice,spir64_fpga-unknown-linux-sycldevice %t.o -o %t.spv
12+
// RUN: %clangxx -fsycl %s -c -o %t.o
13+
// RUN: %clangxx -fsycl -fsycl-link-targets=spir64-unknown-linux-sycldevice %t.o -o %t.spv
1414
// AOT-compile device binary images
1515
// RUN: ioc64 -cmd=build -binary=%t.spv -ir=%t_cpu.ir -device=cpu
1616
// RUN: ocloc -file %t.spv -spirv_input -output %t_gen.out -output_no_suffix -device cfl

0 commit comments

Comments
 (0)