Skip to content

Commit e5ace96

Browse files
committed
[SYCL][E2E] Don't link with L0 if not needed
One of those tests constantly hangs and there is a chance that it happens because it directly links to the `l0_loader`. Considering that those tests don't use any L0 API, there is no need for them to be linked with L0.
1 parent 5f2dfe6 commit e5ace96

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sycl/test-e2e/Regression/reduction_resource_leak_dw.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// REQUIRES: level_zero, level_zero_dev_kit
1+
// REQUIRES: level_zero
22
//
3-
// RUN: %{build} %level_zero_options -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s
55
//
66
// CHECK-NOT: LEAK

sycl/test-e2e/Regression/reduction_resource_leak_usm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// REQUIRES: level_zero, level_zero_dev_kit
1+
// REQUIRES: level_zero
22
// TODO: UR_L0_LEAKS_DEBUG=1 produces no output on Windows. Enable when fixed.
33
// UNSUPPORTED: windows
44
//
5-
// RUN: %{build} %level_zero_options -o %t.out
5+
// RUN: %{build} -o %t.out
66
// RUN: env ONEAPI_DEVICE_SELECTOR="level_zero:*" %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s
77
//
88
// CHECK-NOT: LEAK

0 commit comments

Comments
 (0)