Skip to content

Commit 51dbbc4

Browse files
authored
[SYCL][Graph] Disable OpenCL USM tests (#18172)
No OpenCL mappings available for `urCommandBufferAppendUSMMemcpyExp` and `urCommandBufferAppendUSMFillExp`. See [CommandGraph - OpenCL](https://github.com/intel/llvm/blob/sycl/sycl/doc/design/CommandGraph.md#opencl) for details. Signed-off-by: Yilong Guo <[email protected]>
1 parent 99cd1ad commit 51dbbc4

7 files changed

+18
-0
lines changed

sycl/test-e2e/Graph/RecordReplay/barrier_multi_graph.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// Extra run to check for immediate-command-list in Level Zero
66
// RUN: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %}
77
//
8+
// UNSUPPORTED: opencl
9+
// UNSUPPORTED-INTENDED: USM memcpy command not supported for OpenCL
810

911
#include "../graph_common.hpp"
1012

sycl/test-e2e/Graph/RecordReplay/barrier_multi_queue.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// Extra run to check for immediate-command-list in Level Zero
66
// RUN: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %}
77
//
8+
// UNSUPPORTED: opencl
9+
// UNSUPPORTED-INTENDED: USM memcpy command not supported for OpenCL
810

911
#include "../graph_common.hpp"
1012

sycl/test-e2e/Graph/RecordReplay/ext_oneapi_enqueue_functions.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
// Tests the enqueue free function kernel shortcuts.
99

10+
// UNSUPPORTED: opencl
11+
// UNSUPPORTED-INTENDED: USM memcpy command not supported for OpenCL
12+
1013
#include "../graph_common.hpp"
1114
#include <sycl/ext/oneapi/experimental/enqueue_functions.hpp>
1215
#include <sycl/properties/all_properties.hpp>

sycl/test-e2e/Graph/RecordReplay/ext_oneapi_enqueue_functions_submit_with_event.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// Tests the enqueue free function using USM and submit_with_event for
99
// dependencies
1010

11+
// UNSUPPORTED: opencl
12+
// UNSUPPORTED-INTENDED: USM memcpy command not supported for OpenCL
13+
1114
#include "../graph_common.hpp"
1215
#include <sycl/ext/oneapi/experimental/enqueue_functions.hpp>
1316

sycl/test-e2e/Graph/RecordReplay/transitive_queue_barrier.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
// event is passed as a dependency to a barrier operation in a different
1010
// in-order queue.
1111

12+
// UNSUPPORTED: opencl
13+
// UNSUPPORTED-INTENDED: USM fill command not supported for OpenCL
14+
1215
#include "../graph_common.hpp"
1316
#include <sycl/properties/all_properties.hpp>
1417

sycl/test-e2e/Graph/ValidUsage/linear_graph_copy.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
// Tests that the optimization to use the L0 Copy Engine for memory commands
1313
// does not interfere with the linear graph optimization
1414

15+
// UNSUPPORTED: opencl
16+
// UNSUPPORTED-INTENDED: USM memcpy command not supported for OpenCL
17+
1518
#include "../graph_common.hpp"
1619

1720
#include <sycl/properties/queue_properties.hpp>

sycl/test-e2e/Graph/ValidUsage/linear_graph_copy_D2H.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// does not interfere with the linear graph optimization
1414
//
1515
// REQUIRES: aspect-usm_host_allocations
16+
// UNSUPPORTED: opencl
17+
// UNSUPPORTED-INTENDED: USM memcpy command not supported for OpenCL
1618

1719
#include "../graph_common.hpp"
1820

0 commit comments

Comments
 (0)