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

Commit 083def3

Browse files
authored
[SYCL][CUDA] Enable queue barrier tests (#571)
These are passing with CUDA, as far as I can tell this feature was implemented as part of intel/llvm#3932. `enqueue_barrier.cpp` had to be tweaked to accept a triple as that is required when using the CUDA plugin. Note that this feature is missing from the hip plugin which is why these are still unsupported for hip.
1 parent a75abe0 commit 083def3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

SYCL/Basic/barrier_order.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55

6-
// UNSUPPORTED: cuda || hip
6+
// UNSUPPORTED: hip
77

88
#include <CL/sycl.hpp>
99
#include <stdlib.h>

SYCL/Basic/enqueue_barrier.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// RUN: %clangxx -fsycl %s -o %t.out
1+
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
22
// RUN: env SYCL_PI_TRACE=2 %CPU_RUN_PLACEHOLDER %t.out 2>&1 %CPU_CHECK_PLACEHOLDER
33
// RUN: env SYCL_PI_TRACE=2 %GPU_RUN_PLACEHOLDER %t.out 2>&1 %GPU_CHECK_PLACEHOLDER
44
// RUN: env SYCL_PI_TRACE=2 %ACC_RUN_PLACEHOLDER %t.out 2>&1 %ACC_CHECK_PLACEHOLDER
55

66
// The test is failing sporadically on Windows OpenCL RTs
77
// Disabling on windows until fixed
8-
// UNSUPPORTED: cuda || windows || hip
8+
// UNSUPPORTED: windows || hip
99

1010
#include <CL/sycl.hpp>
1111
#include <sycl/ext/intel/fpga_device_selector.hpp>

SYCL/Basic/submit_barrier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55

6-
// UNSUPPORTED: cuda || hip
6+
// UNSUPPORTED: hip
77

88
#include <CL/sycl.hpp>
99
#include <stdlib.h>

0 commit comments

Comments
 (0)