Skip to content

Commit ef50946

Browse files
committed
[SYCL][Graph] Skip prefetch/memadvise opencl tests
In intel#11474 it was noted in the documentation that the `prefetch` and `memadvise` handler methods were not supported as graph nodes on the OpenCL command-buffer backend. However, we never disabled the E2E tests for this target, which wasn't picked up by CI, as CI doesn't use the command-buffer extension in its OpenCL config. Correct this oversight.
1 parent 36e123d commit ef50946

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

sycl/test-e2e/Graph/Explicit/memadvise.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %if linux && (level_zero || cuda) %{ env SYCL_PI_TRACE=2 %{run} %t.out 2>&1 FileCheck %s %} %else %{ %{run} %t.out %}
33

4+
// Mem advise command not supported for OpenCL
5+
// UNSUPPORTED: opencl
6+
47
// Since Mem advise is only a memory hint that doesn't
58
// impact results but only performances, we verify
69
// that a node is correctly added by checking PI function calls.

sycl/test-e2e/Graph/Explicit/prefetch.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %if linux && (level_zero || cuda) %{ env SYCL_PI_TRACE=2 %{run} %t.out 2>&1 FileCheck %s %} %else %{ %{run} %t.out %}
33

4+
// prefetch command not supported for OpenCL
5+
// UNSUPPORTED: opencl
6+
47
// Since Prefetch is only a memory hint that doesn't
58
// impact results but only performances, we verify
69
// that a node is correctly added by checking PI function calls

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %if linux && (level_zero || cuda) %{ env SYCL_PI_TRACE=2 %{run} %t.out 2>&1 FileCheck %s %} %else %{ %{run} %t.out %}
33

4+
// Mem advise command not supported for OpenCL
5+
// UNSUPPORTED: opencl
6+
47
// Since Mem advise is only a memory hint that doesn't
58
// impact results but only performances, we verify
69
// that a node is correctly added by checking PI function calls.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %if linux && (level_zero || cuda) %{ env SYCL_PI_TRACE=2 %{run} %t.out 2>&1 FileCheck %s %} %else %{ %{run} %t.out %}
33

4+
// prefetch command not supported for OpenCL
5+
// UNSUPPORTED: opencl
6+
47
// Since Prefetch is only a memory hint that doesn't
58
// impact results but only performances, we verify
69
// that a node is correctly added by checking PI function calls

0 commit comments

Comments
 (0)