Skip to content

Commit

Permalink
[SYCL][CUDA] Fix CUDA LIT w/-fsycl-targets (#2027)
Browse files Browse the repository at this point in the history
Fix `XFAIL:: cuda` case by setting correct sycl targets parameter.

Signed-off-by: Bjoern Knafla <[email protected]>
  • Loading branch information
bjoernknafla authored Jul 2, 2020
1 parent ed722df commit d129edd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sycl/test/basic_tests/compare_exchange_strong.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
// XFAIL: cuda

#include <CL/sycl.hpp>
using namespace cl::sycl;
Expand Down

0 comments on commit d129edd

Please sign in to comment.