Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 1dd04ee

Browse files
[SYCL] Add target to is_compatible test (#1428)
This commit should fix the is_compatible test for non-SPIRV targets. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 553b9f6 commit 1dd04ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/OptionalKernelFeatures/is_compatible.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// requires: cpu, gpu, accelerator
2-
// RUN: %clangxx -fsycl -O0 %s -o %t.out
2+
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -O0 %s -o %t.out
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out

0 commit comments

Comments
 (0)