Skip to content

Commit d4f4951

Browse files
author
Jaime Arteaga
committed
[UR][L0] Add UR_L0_LEAKS_DEBUG key
Use a new environment variable, UR_L0_LEAKS_DEBUG, to check for leaks in the UR L0 adapter, instead of relying on a specific value being set in UR_L0_DEBUG. Signed-off-by: Jaime Arteaga <[email protected]>
1 parent 1b201d8 commit d4f4951

File tree

142 files changed

+328
-320
lines changed

Some content is hidden

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

142 files changed

+328
-320
lines changed

sycl/plugins/unified_runtime/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ endif()
5353
if(SYCL_PI_UR_USE_FETCH_CONTENT)
5454
include(FetchContent)
5555

56-
set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git")
56+
set(UNIFIED_RUNTIME_REPO "https://github.com/jandres742/unified-runtime.git")
5757
# commit ec7982bac6cb3a6b9ed610cd6b7cb41fcbc780dc
5858
# Merge: 62e6d2f9 5fb82924
5959
# Author: Kenneth Benzie (Benie) <[email protected]>
6060
# Date: Wed Nov 8 13:32:46 2023 +0000
6161
# Merge pull request #1022 from 0x12CC/l0_usm_error_checking_2
6262
# [UR][L0] Propagate OOM errors from `USMAllocationMakeResident`
63-
set(UNIFIED_RUNTIME_TAG ec7982bac6cb3a6b9ed610cd6b7cb41fcbc780dc)
63+
set(UNIFIED_RUNTIME_TAG 4ba72e882279eba3bc0749e274592ce7fc01ef38)
6464

6565
if(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO)
6666
set(UNIFIED_RUNTIME_REPO "${SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO}")

sycl/test-e2e/Basic/alloc_pinned_host_memory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: level_zero || cuda
22

33
// RUN: %{build} -o %t2.out
4-
// RUN: env SYCL_PI_TRACE=2 ZE_DEBUG=1 %{run} %t2.out %if ext_oneapi_level_zero %{ 2>&1 | FileCheck %s %}
4+
// RUN: env SYCL_PI_TRACE=2 UR_L0_DEBUG=1 %{run} %t2.out %if ext_oneapi_level_zero %{ 2>&1 | FileCheck %s %}
55
// RUN: %{run} %t2.out
66

77
#include <sycl/sycl.hpp>

sycl/test-e2e/Basic/buffer/buffer_create.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: gpu,level_zero
22
// RUN: %{build} -o %t.out
3-
// RUN: env ZE_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s
3+
// RUN: env UR_L0_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s
44
// UNSUPPORTED: ze_debug
55

66
#include <iostream>

sycl/test-e2e/Basic/report_code_loc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* reported*/
33

44
// RUN: %{build} -o %t.out
5-
// RUN: env ZE_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s
5+
// RUN: env UR_L0_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s
66

77
#include <sycl/sycl.hpp>
88
using namespace sycl;

sycl/test-e2e/DiscardEvents/discard_events_l0_leak.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
//
33
// RUN: %{build} -o %t.out
44
//
5-
// RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 SYCL_PI_LEVEL_ZERO_BATCH_SIZE=4 ONEAPI_DEVICE_SELECTOR='level_zero:*' ZE_DEBUG=4 %{run} %t.out wait 2>&1 | FileCheck %s
6-
// RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 SYCL_PI_LEVEL_ZERO_BATCH_SIZE=4 ONEAPI_DEVICE_SELECTOR='level_zero:*' ZE_DEBUG=4 %{run} %t.out nowait 2>&1 | FileCheck %s
5+
// RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 SYCL_PI_LEVEL_ZERO_BATCH_SIZE=4 ONEAPI_DEVICE_SELECTOR='level_zero:*' UR_L0_LEAKS_DEBUG=1 %{run} %t.out wait 2>&1 | FileCheck %s
6+
// RUN: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 SYCL_PI_LEVEL_ZERO_BATCH_SIZE=4 ONEAPI_DEVICE_SELECTOR='level_zero:*' UR_L0_LEAKS_DEBUG=1 %{run} %t.out nowait 2>&1 | FileCheck %s
77
//
88
// CHECK-NOT: LEAK
99
//
1010
// The test is to check that there are no leaks reported with the embedded
11-
// ZE_DEBUG=4 testing capability.
11+
// UR_L0_LEAKS_DEBUG=1 testing capability.
1212
// In addition to general leak checking, especially for discard_events, the test
1313
// checks that piKernelRelease to be executed for each kernel call, and
1414
// EventRelease for events, that are used for dependencies between

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88
//

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: cuda || level_zero, gpu
22
// RUN: %{build} -o %t.out
33
// RUN: %{run} %t.out
4-
// Extra run to check for leaks in Level Zero using ZE_DEBUG
5-
// RUN: %if ext_oneapi_level_zero %{env ZE_DEBUG=4 %{run} %t.out 2>&1 | FileCheck %s %}
4+
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
5+
// RUN: %if ext_oneapi_level_zero %{env UR_L0_LEAKS_DEBUG=1 %{run} %t.out 2>&1 | FileCheck %s %}
66
//
77
// CHECK-NOT: LEAK
88

0 commit comments

Comments
 (0)