From 6e4e7b5eec8e2424b8b15e4489c7060a68f78d7a Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Fri, 28 Jun 2024 09:29:52 -0700 Subject: [PATCH 1/4] [SYCL][E2E] Disable flaky test host_task_last.cpp on Gen12 Linux Signed-off-by: Sarnie, Nick --- sycl/test-e2e/Graph/Explicit/host_task_last.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sycl/test-e2e/Graph/Explicit/host_task_last.cpp b/sycl/test-e2e/Graph/Explicit/host_task_last.cpp index 34df0750b5366..86a5928b2017f 100644 --- a/sycl/test-e2e/Graph/Explicit/host_task_last.cpp +++ b/sycl/test-e2e/Graph/Explicit/host_task_last.cpp @@ -7,6 +7,9 @@ // REQUIRES: aspect-usm_shared_allocations +// https://github.com/intel/llvm/issues/14350 +// UNSUPPORTED: linux && gpu-intel-gen12 + #define GRAPH_E2E_EXPLICIT #include "../Inputs/host_task_last.cpp" From 3a57b2634a1b07846416a3d88e5a047cc65a2204 Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Mon, 1 Jul 2024 07:32:33 -0700 Subject: [PATCH 2/4] address feedback Signed-off-by: Sarnie, Nick --- sycl/test-e2e/Graph/Explicit/host_task_last.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sycl/test-e2e/Graph/Explicit/host_task_last.cpp b/sycl/test-e2e/Graph/Explicit/host_task_last.cpp index 86a5928b2017f..73b7cf1affe69 100644 --- a/sycl/test-e2e/Graph/Explicit/host_task_last.cpp +++ b/sycl/test-e2e/Graph/Explicit/host_task_last.cpp @@ -2,14 +2,13 @@ // RUN: %{run} %t.out // Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG // RUN: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} + +// Disabled due to https://github.com/intel/llvm/issues/14350 // Extra run to check for immediate-command-list in Level Zero -// RUN: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUNx: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // REQUIRES: aspect-usm_shared_allocations -// https://github.com/intel/llvm/issues/14350 -// UNSUPPORTED: linux && gpu-intel-gen12 - #define GRAPH_E2E_EXPLICIT #include "../Inputs/host_task_last.cpp" From 7a2601dcd22007b6a051840de98f2cf3481c6d23 Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Mon, 1 Jul 2024 07:38:19 -0700 Subject: [PATCH 3/4] format Signed-off-by: Sarnie, Nick --- sycl/test-e2e/Graph/Explicit/host_task_last.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sycl/test-e2e/Graph/Explicit/host_task_last.cpp b/sycl/test-e2e/Graph/Explicit/host_task_last.cpp index 73b7cf1affe69..b7cdb0690d7d9 100644 --- a/sycl/test-e2e/Graph/Explicit/host_task_last.cpp +++ b/sycl/test-e2e/Graph/Explicit/host_task_last.cpp @@ -5,7 +5,9 @@ // Disabled due to https://github.com/intel/llvm/issues/14350 // Extra run to check for immediate-command-list in Level Zero -// RUNx: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} +// RUNx: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 +// %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK +// %} // REQUIRES: aspect-usm_shared_allocations From 83a321101f878b023574795f54e2f6dd74fa4d97 Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Mon, 1 Jul 2024 07:39:38 -0700 Subject: [PATCH 4/4] format2 Signed-off-by: Sarnie, Nick --- sycl/test-e2e/Graph/Explicit/host_task_last.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sycl/test-e2e/Graph/Explicit/host_task_last.cpp b/sycl/test-e2e/Graph/Explicit/host_task_last.cpp index b7cdb0690d7d9..5371ea1df3708 100644 --- a/sycl/test-e2e/Graph/Explicit/host_task_last.cpp +++ b/sycl/test-e2e/Graph/Explicit/host_task_last.cpp @@ -5,9 +5,7 @@ // Disabled due to https://github.com/intel/llvm/issues/14350 // Extra run to check for immediate-command-list in Level Zero -// RUNx: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 -// %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK -// %} +// xRUN: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %} // REQUIRES: aspect-usm_shared_allocations