Skip to content

Commit 4fd28dd

Browse files
martygrantEwanC
authored andcommitted
[SYCL][Graph] Add new 'are_graphs_supported' helper function (#11877)
Add new 'are_graphs_supported' helper function to determine platform support for Graphs at runtime rather than the lit '// REQUIRES: <platform>' check at compile time. Fixed a bug in the usm_variant tests of trying to instantiate an int with a float value. This PR has been create in order to simplify the PR for adding OpenCL support to the SYCL Graph tests #11718. --------- Co-authored-by: Ewan Crawford <[email protected]>
1 parent 684eb10 commit 4fd28dd

File tree

173 files changed

+393
-202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+393
-202
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
@@ -14,6 +13,10 @@
1413
int main() {
1514
queue Queue{{sycl::ext::intel::property::queue::no_immediate_command_list{}}};
1615

16+
if (!are_graphs_supported(Queue)) {
17+
return 0;
18+
}
19+
1720
bool Success = false;
1821

1922
exp_ext::command_graph Graph{Queue.get_context(), Queue.get_device()};

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43

@@ -17,6 +16,10 @@ void CreateGraphWithCyclesTest(bool DisableCycleChecks) {
1716

1817
queue Queue;
1918

19+
if (!are_graphs_supported(Queue)) {
20+
return;
21+
}
22+
2023
property_list Props;
2124

2225
if (DisableCycleChecks) {

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
// REQUIRES: level_zero || cuda, gpu
21
// RUN: %{build} -o %t.out
3-
// RUN: %if linux %{ %{run} %t.out ; FileCheck %s --input-file graph.dot %}
4-
// RUN: %if windows %{ %{run} %t.out %}
2+
// RUN: %if linux && (ext_oneapi_level_zero || ext_oneapi_cuda) %{ %{run} %t.out ; FileCheck %s --input-file graph.dot %} %else %{ %{run} %t.out %}
53
// Windows output format differs from linux format.
64
// The filecheck-based output checking is suited to linux standards.
75
// On Windows, we only test that printing takes place correctly and does not
8-
// trigger errors or throw execeptions.
6+
// trigger errors or throw exceptions.
97
//
108
// CHECK: digraph dot {
119
// CHECK-NEXT: "0x[[#%x,NODE1:]]"

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
// REQUIRES: level_zero || cuda, gpu
21
// RUN: %{build} -o %t.out
3-
// RUN: %if linux %{ %{run} %t.out ; FileCheck %s --input-file graph_verbose.dot %}
4-
// RUN: %if windows %{ %{run} %t.out %}
2+
// RUN: %if linux && (ext_oneapi_level_zero || ext_oneapi_cuda) %{ %{run} %t.out ; FileCheck %s --input-file graph_verbose.dot %} %else %{ %{run} %t.out %}
53
// Windows output format differs from linux format.
64
// The filecheck-based output checking is suited to linux standards.
75
// On Windows, we only test that printing takes place correctly and does not

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
@@ -13,9 +12,12 @@
1312
#include "../graph_common.hpp"
1413

1514
int main() {
16-
1715
queue Queue{{sycl::ext::intel::property::queue::no_immediate_command_list{}}};
1816

17+
if (!are_graphs_supported(Queue)) {
18+
return 0;
19+
}
20+
1921
exp_ext::command_graph Graph{Queue.get_context(), Queue.get_device()};
2022

2123
const size_t N = 10;

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
54
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
65
//
76
// CHECK-NOT: LEAK
87

9-
// Expected fail as reduction support is not complete.
10-
// XFAIL: *
8+
// Skip as reduction support is not complete.
9+
// REQUIRES: NOT_YET_IMPLEMENTED
1110

1211
#define GRAPH_E2E_EXPLICIT
1312

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
54
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
65
//
76
// CHECK-NOT: LEAK
87

9-
// Expected fail as reduction support is not complete.
10-
// XFAIL: *
8+
// Skip as reduction support is not complete.
9+
// REQUIRES: NOT_YET_IMPLEMENTED
1110

1211
#define GRAPH_E2E_EXPLICIT
1312

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
54
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
65
//
76
// CHECK-NOT: LEAK
87

9-
// Expected fail as executable graph update isn't implemented yet
10-
// XFAIL: *
8+
// Skip as executable graph update isn't implemented yet
9+
// REQUIRES: NOT_YET_IMPLEMENTED
1110

1211
#define GRAPH_E2E_EXPLICIT
1312

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
@@ -12,9 +11,12 @@
1211

1312
#include "../graph_common.hpp"
1413
int main() {
15-
1614
queue Queue{{sycl::ext::intel::property::queue::no_immediate_command_list{}}};
1715

16+
if (!are_graphs_supported(Queue)) {
17+
return 0;
18+
}
19+
1820
exp_ext::command_graph Graph{Queue.get_context(), Queue.get_device()};
1921

2022
const size_t N = 10;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// REQUIRES: level_zero, gpu
21
// RUN: %{build} -o %t.out
3-
// RUN: %{run} %t.out 2>&1 | FileCheck %s
2+
// RUN: %if ext_oneapi_level_zero || ext_oneapi_cuda %{ %{run} %t.out 2>&1 | FileCheck %s %} %else %{ %{run} %t.out %}
43
//
54
// CHECK: complete
65
//

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
54
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
65
//
76
// CHECK-NOT: LEAK
87

9-
// Expected fail as executable graph update not implemented yet
10-
// XFAIL: *
8+
// Skip as executable graph update not implemented yet
9+
// REQUIRES: NOT_YET_IMPLEMENTED
1110

1211
#define GRAPH_E2E_EXPLICIT
1312

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
54
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
65
//
76
// CHECK-NOT: LEAK
87

9-
// Expected fail as executable graph update and host tasks both aren't
8+
// Skip as executable graph update and host tasks both aren't
109
// implemented.
11-
// XFAIL: *
10+
// REQUIRES: NOT_YET_IMPLEMENTED
1211

1312
#define GRAPH_E2E_EXPLICIT
1413

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
54
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
65
//
76
// CHECK-NOT: LEAK
87

9-
// Expected fail as host tasks aren't implemented yet.
10-
// XFAIL: *
8+
// Skip as host tasks aren't implemented yet.
9+
// REQUIRES: NOT_YET_IMPLEMENTED
1110

1211
#define GRAPH_E2E_EXPLICIT
1312

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %if ext_oneapi_cuda %{ %{run} %t.out %}
43
// RUN: %if ext_oneapi_level_zero %{env SYCL_PI_TRACE=2 %{run} %t.out | FileCheck %s %}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
@@ -12,9 +11,12 @@
1211
#include "../graph_common.hpp"
1312

1413
int main() {
15-
1614
queue Queue{{sycl::ext::intel::property::queue::no_immediate_command_list{}}};
1715

16+
if (!are_graphs_supported(Queue)) {
17+
return 0;
18+
}
19+
1820
exp_ext::command_graph Graph{Queue.get_context(), Queue.get_device()};
1921

2022
const size_t N = 10;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
@@ -11,9 +10,12 @@
1110
#include "../graph_common.hpp"
1211

1312
int main() {
14-
1513
queue Queue{{sycl::ext::intel::property::queue::no_immediate_command_list{}}};
1614

15+
if (!are_graphs_supported(Queue)) {
16+
return 0;
17+
}
18+
1719
exp_ext::command_graph Graph{Queue.get_context(), Queue.get_device()};
1820

1921
const size_t N = 10;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out %GPU_CHECK_PLACEHOLDER
43
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out %GPU_CHECK_PLACEHOLDER 2>&1 | FileCheck %s %}
54
//
65
// CHECK-NOT: LEAK
76

8-
// Expected fail as sycl streams aren't implemented yet
9-
// XFAIL: *
7+
// Skip as sycl streams aren't implemented yet
8+
// REQUIRES: NOT_YET_IMPLEMENTED
109

1110
#define GRAPH_E2E_EXPLICIT
1211

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// REQUIRES: cuda || level_zero, gpu
21
// RUN: %{build} -o %t.out
32
// RUN: %{run} %t.out
43
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG

0 commit comments

Comments
 (0)