Skip to content

Commit d129edd

Browse files
authored
[SYCL][CUDA] Fix CUDA LIT w/-fsycl-targets (#2027)
Fix `XFAIL:: cuda` case by setting correct sycl targets parameter. Signed-off-by: Bjoern Knafla <[email protected]>
1 parent ed722df commit d129edd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sycl/test/basic_tests/compare_exchange_strong.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
// RUN: %clangxx -fsycl %s -o %t.out
1+
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
22
// RUN: %CPU_RUN_PLACEHOLDER %t.out
33
// RUN: %GPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
5-
// XFAIL: cuda
65

76
#include <CL/sycl.hpp>
87
using namespace cl::sycl;

0 commit comments

Comments
 (0)