From 6f9863f96bc0fc466136d3536d2846947f7472a0 Mon Sep 17 00:00:00 2001 From: "Tikhomirova, Kseniya" Date: Tue, 11 Aug 2026 03:15:41 -0700 Subject: [PATCH] [SYCL] Disable L0 leak check with host task on Windows Signed-off-by: Tikhomirova, Kseniya --- sycl/test-e2e/Graph/Explicit/host_task.cpp | 2 +- sycl/test-e2e/Graph/Explicit/host_task2.cpp | 2 +- sycl/test-e2e/Graph/Explicit/host_task_last.cpp | 2 +- sycl/test-e2e/Graph/Explicit/host_task_single.cpp | 2 +- sycl/test-e2e/Graph/Explicit/host_task_successive.cpp | 2 +- .../RecordReplay/NativeRecording/enqueue_func_host_task.cpp | 2 +- .../Graph/RecordReplay/NativeRecording/exception_host_task.cpp | 2 +- sycl/test-e2e/Graph/RecordReplay/enqueue_func_host_task.cpp | 2 +- sycl/test-e2e/Graph/RecordReplay/host_task2.cpp | 2 +- sycl/test-e2e/Graph/RecordReplay/host_task_last.cpp | 2 +- sycl/test-e2e/Graph/RecordReplay/host_task_single.cpp | 2 +- sycl/test-e2e/Graph/RecordReplay/host_task_successive.cpp | 2 +- sycl/test-e2e/Graph/Update/Explicit/whole_update_host_task.cpp | 2 +- .../Graph/Update/Explicit/whole_update_host_task_accessor.cpp | 2 +- .../Graph/Update/RecordReplay/whole_update_host_task.cpp | 2 +- .../Update/RecordReplay/whole_update_host_task_accessor.cpp | 2 +- sycl/test-e2e/Graph/Update/dyn_cgf_host_task_usm.cpp | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/sycl/test-e2e/Graph/Explicit/host_task.cpp b/sycl/test-e2e/Graph/Explicit/host_task.cpp index 7d95a5f1797b2..4459cf61ec3fc 100644 --- a/sycl/test-e2e/Graph/Explicit/host_task.cpp +++ b/sycl/test-e2e/Graph/Explicit/host_task.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // REQUIRES: aspect-usm_shared_allocations diff --git a/sycl/test-e2e/Graph/Explicit/host_task2.cpp b/sycl/test-e2e/Graph/Explicit/host_task2.cpp index 81cf4c144b50c..c11e95196e0f4 100644 --- a/sycl/test-e2e/Graph/Explicit/host_task2.cpp +++ b/sycl/test-e2e/Graph/Explicit/host_task2.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // REQUIRES: aspect-usm_shared_allocations diff --git a/sycl/test-e2e/Graph/Explicit/host_task_last.cpp b/sycl/test-e2e/Graph/Explicit/host_task_last.cpp index 652210421440b..f1726ab50a766 100644 --- a/sycl/test-e2e/Graph/Explicit/host_task_last.cpp +++ b/sycl/test-e2e/Graph/Explicit/host_task_last.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // clang-format off // TODO: enable the run-line below when the issue is fixed - https://github.com/intel/llvm/issues/14473 diff --git a/sycl/test-e2e/Graph/Explicit/host_task_single.cpp b/sycl/test-e2e/Graph/Explicit/host_task_single.cpp index c90a25845a45f..a850a872ad8ce 100644 --- a/sycl/test-e2e/Graph/Explicit/host_task_single.cpp +++ b/sycl/test-e2e/Graph/Explicit/host_task_single.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // // Immediate command-list testing is disabled on Windows due to a // non-deterministic leak of the Level Zero context, and is intended diff --git a/sycl/test-e2e/Graph/Explicit/host_task_successive.cpp b/sycl/test-e2e/Graph/Explicit/host_task_successive.cpp index b3b032ffe4d26..95260432fca60 100644 --- a/sycl/test-e2e/Graph/Explicit/host_task_successive.cpp +++ b/sycl/test-e2e/Graph/Explicit/host_task_successive.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // REQUIRES: aspect-usm_shared_allocations diff --git a/sycl/test-e2e/Graph/RecordReplay/NativeRecording/enqueue_func_host_task.cpp b/sycl/test-e2e/Graph/RecordReplay/NativeRecording/enqueue_func_host_task.cpp index 0189d6240f2a2..5e36ffd236572 100644 --- a/sycl/test-e2e/Graph/RecordReplay/NativeRecording/enqueue_func_host_task.cpp +++ b/sycl/test-e2e/Graph/RecordReplay/NativeRecording/enqueue_func_host_task.cpp @@ -3,7 +3,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // Tests that syclex::host_task() can be recorded into a native-recording SYCL // Graph and executes correctly between two SYCL kernels. diff --git a/sycl/test-e2e/Graph/RecordReplay/NativeRecording/exception_host_task.cpp b/sycl/test-e2e/Graph/RecordReplay/NativeRecording/exception_host_task.cpp index 88b555c51f463..6f5e37de04c68 100644 --- a/sycl/test-e2e/Graph/RecordReplay/NativeRecording/exception_host_task.cpp +++ b/sycl/test-e2e/Graph/RecordReplay/NativeRecording/exception_host_task.cpp @@ -3,7 +3,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} #include "../../graph_common.hpp" diff --git a/sycl/test-e2e/Graph/RecordReplay/enqueue_func_host_task.cpp b/sycl/test-e2e/Graph/RecordReplay/enqueue_func_host_task.cpp index 0cfcc2d5f52fb..a46af7c6668f1 100644 --- a/sycl/test-e2e/Graph/RecordReplay/enqueue_func_host_task.cpp +++ b/sycl/test-e2e/Graph/RecordReplay/enqueue_func_host_task.cpp @@ -2,7 +2,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // Tests that restricted host_task can be recorded via the command-buffer path. diff --git a/sycl/test-e2e/Graph/RecordReplay/host_task2.cpp b/sycl/test-e2e/Graph/RecordReplay/host_task2.cpp index c1c327e5c9c17..a9e9bc7212b0b 100644 --- a/sycl/test-e2e/Graph/RecordReplay/host_task2.cpp +++ b/sycl/test-e2e/Graph/RecordReplay/host_task2.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // REQUIRES: aspect-usm_shared_allocations diff --git a/sycl/test-e2e/Graph/RecordReplay/host_task_last.cpp b/sycl/test-e2e/Graph/RecordReplay/host_task_last.cpp index 6977e048ecedf..c190206376844 100644 --- a/sycl/test-e2e/Graph/RecordReplay/host_task_last.cpp +++ b/sycl/test-e2e/Graph/RecordReplay/host_task_last.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // clang-format off // TODO: enable the run below when the issue is fixed - https://github.com/intel/llvm/issues/14473 diff --git a/sycl/test-e2e/Graph/RecordReplay/host_task_single.cpp b/sycl/test-e2e/Graph/RecordReplay/host_task_single.cpp index 8075941ee58ad..1b007ca24ba90 100644 --- a/sycl/test-e2e/Graph/RecordReplay/host_task_single.cpp +++ b/sycl/test-e2e/Graph/RecordReplay/host_task_single.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // // Immediate command-list testing is disabled on Windows due to a // non-deterministic leak of the Level Zero context, and is intended diff --git a/sycl/test-e2e/Graph/RecordReplay/host_task_successive.cpp b/sycl/test-e2e/Graph/RecordReplay/host_task_successive.cpp index d4362ee6316ea..0726841e5c826 100644 --- a/sycl/test-e2e/Graph/RecordReplay/host_task_successive.cpp +++ b/sycl/test-e2e/Graph/RecordReplay/host_task_successive.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // REQUIRES: aspect-usm_shared_allocations diff --git a/sycl/test-e2e/Graph/Update/Explicit/whole_update_host_task.cpp b/sycl/test-e2e/Graph/Update/Explicit/whole_update_host_task.cpp index 4c33d6f90f30f..5838edca8332a 100644 --- a/sycl/test-e2e/Graph/Update/Explicit/whole_update_host_task.cpp +++ b/sycl/test-e2e/Graph/Update/Explicit/whole_update_host_task.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // REQUIRES: aspect-usm_shared_allocations diff --git a/sycl/test-e2e/Graph/Update/Explicit/whole_update_host_task_accessor.cpp b/sycl/test-e2e/Graph/Update/Explicit/whole_update_host_task_accessor.cpp index d0241ab6aaccd..ebb0c91ea8f8a 100644 --- a/sycl/test-e2e/Graph/Update/Explicit/whole_update_host_task_accessor.cpp +++ b/sycl/test-e2e/Graph/Update/Explicit/whole_update_host_task_accessor.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // // XFAIL: arch-intel_gpu_ptl_u || arch-intel_gpu_ptl_h || arch-intel_gpu_wcl // XFAIL-TRACKER: CMPLRTST-27275 diff --git a/sycl/test-e2e/Graph/Update/RecordReplay/whole_update_host_task.cpp b/sycl/test-e2e/Graph/Update/RecordReplay/whole_update_host_task.cpp index e314ab806a1b7..8a0cf106be484 100644 --- a/sycl/test-e2e/Graph/Update/RecordReplay/whole_update_host_task.cpp +++ b/sycl/test-e2e/Graph/Update/RecordReplay/whole_update_host_task.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // REQUIRES: aspect-usm_shared_allocations diff --git a/sycl/test-e2e/Graph/Update/RecordReplay/whole_update_host_task_accessor.cpp b/sycl/test-e2e/Graph/Update/RecordReplay/whole_update_host_task_accessor.cpp index 731f3bf9bd2e1..9a6d41131e8b1 100644 --- a/sycl/test-e2e/Graph/Update/RecordReplay/whole_update_host_task_accessor.cpp +++ b/sycl/test-e2e/Graph/Update/RecordReplay/whole_update_host_task_accessor.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // // XFAIL: arch-intel_gpu_ptl_u || arch-intel_gpu_ptl_h || arch-intel_gpu_wcl // XFAIL-TRACKER: CMPLRTST-27275 diff --git a/sycl/test-e2e/Graph/Update/dyn_cgf_host_task_usm.cpp b/sycl/test-e2e/Graph/Update/dyn_cgf_host_task_usm.cpp index 1bfc7a6b62ab1..900ce111af105 100644 --- a/sycl/test-e2e/Graph/Update/dyn_cgf_host_task_usm.cpp +++ b/sycl/test-e2e/Graph/Update/dyn_cgf_host_task_usm.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG -// RUN: %if level_zero %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUN: %if level_zero && !system-windows %{%{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // REQUIRES: aspect-usm_shared_allocations