From e5ace96f2533176a0556a9d21f96fe220772211c Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Mon, 13 Oct 2025 16:37:34 +0200 Subject: [PATCH] [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. --- sycl/test-e2e/Regression/reduction_resource_leak_dw.cpp | 4 ++-- sycl/test-e2e/Regression/reduction_resource_leak_usm.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sycl/test-e2e/Regression/reduction_resource_leak_dw.cpp b/sycl/test-e2e/Regression/reduction_resource_leak_dw.cpp index ccf79b6c4d27e..64844667750e5 100644 --- a/sycl/test-e2e/Regression/reduction_resource_leak_dw.cpp +++ b/sycl/test-e2e/Regression/reduction_resource_leak_dw.cpp @@ -1,6 +1,6 @@ -// REQUIRES: level_zero, level_zero_dev_kit +// REQUIRES: level_zero // -// RUN: %{build} %level_zero_options -o %t.out +// RUN: %{build} -o %t.out // RUN: %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s // // CHECK-NOT: LEAK diff --git a/sycl/test-e2e/Regression/reduction_resource_leak_usm.cpp b/sycl/test-e2e/Regression/reduction_resource_leak_usm.cpp index 11f5d75b73d58..d41b633ac03e0 100644 --- a/sycl/test-e2e/Regression/reduction_resource_leak_usm.cpp +++ b/sycl/test-e2e/Regression/reduction_resource_leak_usm.cpp @@ -1,8 +1,8 @@ -// REQUIRES: level_zero, level_zero_dev_kit +// REQUIRES: level_zero // TODO: UR_L0_LEAKS_DEBUG=1 produces no output on Windows. Enable when fixed. // UNSUPPORTED: windows // -// RUN: %{build} %level_zero_options -o %t.out +// RUN: %{build} -o %t.out // RUN: env ONEAPI_DEVICE_SELECTOR="level_zero:*" %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s // // CHECK-NOT: LEAK