From 55b22279fd4380974fef6d28df90a65a664c7989 Mon Sep 17 00:00:00 2001 From: luszczewskakasia1 Date: Mon, 15 Dec 2025 09:54:28 +0100 Subject: [PATCH 1/4] [CI][L0 v2] Add to CI options for L0v2 adapter --- .github/workflows/sycl-linux-precommit.yml | 4 ++++ .github/workflows/sycl-linux-run-tests.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/sycl-linux-precommit.yml b/.github/workflows/sycl-linux-precommit.yml index bef9396b049eb..4b447745441f1 100644 --- a/.github/workflows/sycl-linux-precommit.yml +++ b/.github/workflows/sycl-linux-precommit.yml @@ -189,6 +189,10 @@ jobs: target_devices: level_zero:gpu;opencl:gpu;opencl:cpu extra_lit_opts: --param test-preview-mode=True binaries_artifact: e2e_bin_preview + - name: L0 v2 + runner: '["L0v2_arl"]' + target_devices: level_zero_v2:arch-intel_gpu_mtl_u + extra_lit_opts: --param test-preview-mode=True # We're in an ABI-breaking window, so these don't make sense for now. - name: ABI compatibility / sycl-rel-6_2 diff --git a/.github/workflows/sycl-linux-run-tests.yml b/.github/workflows/sycl-linux-run-tests.yml index 09e9a91e44e32..5c1a913f683e7 100644 --- a/.github/workflows/sycl-linux-run-tests.yml +++ b/.github/workflows/sycl-linux-run-tests.yml @@ -158,6 +158,7 @@ on: - '["Linux", "build"]' - '["cuda"]' - '["PVC_PERF"]' + - '["L0v2_arl"]' image: type: choice options: @@ -181,6 +182,7 @@ on: - 'opencl:gpu' - 'hip:gpu' - 'cuda:gpu' + - 'level_zero_v2:arch-intel_gpu_mtl_u' tests_selector: type: choice options: From 87d4732be3fe9a2c71c7509b1427af90db22cce9 Mon Sep 17 00:00:00 2001 From: "Mateusz P. Nowak" Date: Mon, 15 Dec 2025 13:21:34 +0000 Subject: [PATCH 2/4] disable AddressSanitizer tests --- sycl/test-e2e/AddressSanitizer/lit.local.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sycl/test-e2e/AddressSanitizer/lit.local.cfg b/sycl/test-e2e/AddressSanitizer/lit.local.cfg index 50308766f8292..c94b3d4c450a6 100644 --- a/sycl/test-e2e/AddressSanitizer/lit.local.cfg +++ b/sycl/test-e2e/AddressSanitizer/lit.local.cfg @@ -21,6 +21,9 @@ config.unsupported_features += ['spirv-backend'] # https://github.com/intel/llvm/issues/16920 config.unsupported_features += ['arch-intel_gpu_bmg_g21'] +# https://github.com/intel/llvm/issues/20894 +config.unsupported_features += ['arch-intel_gpu_mtl_u'] + # https://github.com/intel/llvm/issues/20142 config.unsupported_features += ['target-native_cpu'] unsupported_san_flags = [ From 9568cd028805290949abfa20a55f0ae3c5c73bdb Mon Sep 17 00:00:00 2001 From: "Mateusz P. Nowak" Date: Mon, 15 Dec 2025 14:52:42 +0000 Subject: [PATCH 3/4] disable failing tests --- sycl/test-e2e/Adapters/level_zero/ext_intel_cslice.cpp | 3 +++ sycl/test-e2e/Adapters/level_zero/ext_intel_queue_index.cpp | 3 +++ sycl/test-e2e/Basic/interop/ze_context_device.cpp | 4 ++++ sycl/test-e2e/Config/allowlist.cpp | 3 +++ .../SYCL2020/group_sort/group_and_joint_sort.cpp | 2 +- sycl/test-e2e/KernelAndProgram/free_function_kernels.cpp | 3 ++- sycl/test-e2e/Regression/cache_test.cpp | 4 ++++ sycl/test-e2e/bindless_images/read_sampled.cpp | 2 +- 8 files changed, 21 insertions(+), 3 deletions(-) diff --git a/sycl/test-e2e/Adapters/level_zero/ext_intel_cslice.cpp b/sycl/test-e2e/Adapters/level_zero/ext_intel_cslice.cpp index 951ae6ce8c474..2ccd0e2d91ef9 100644 --- a/sycl/test-e2e/Adapters/level_zero/ext_intel_cslice.cpp +++ b/sycl/test-e2e/Adapters/level_zero/ext_intel_cslice.cpp @@ -13,6 +13,9 @@ // XFAIL: windows && arch-intel_gpu_bmg_g21 // XFAIL-TRACKER: https://github.com/intel/llvm/issues/18576 +// XFAIL: linux && arch-intel_gpu_mtl_u +// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20896 + // RUN: %{build} -Wno-error=deprecated-declarations -o %t.out // TODO: at this time PVC 1T systems are not correctly supporting CSLICE diff --git a/sycl/test-e2e/Adapters/level_zero/ext_intel_queue_index.cpp b/sycl/test-e2e/Adapters/level_zero/ext_intel_queue_index.cpp index cc49640f837b6..b7e18cf9bdb65 100644 --- a/sycl/test-e2e/Adapters/level_zero/ext_intel_queue_index.cpp +++ b/sycl/test-e2e/Adapters/level_zero/ext_intel_queue_index.cpp @@ -13,6 +13,9 @@ // XFAIL: windows && arch-intel_gpu_bmg_g21 // XFAIL-TRACKER: https://github.com/intel/llvm/issues/18576 +// XFAIL: linux && arch-intel_gpu_mtl_u +// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20896 + // RUN: %{build} -o %t.out // TODO: at this time PVC 1T systems are not correctly supporting CSLICE diff --git a/sycl/test-e2e/Basic/interop/ze_context_device.cpp b/sycl/test-e2e/Basic/interop/ze_context_device.cpp index 33866c6616bb9..6135ae6ab7154 100644 --- a/sycl/test-e2e/Basic/interop/ze_context_device.cpp +++ b/sycl/test-e2e/Basic/interop/ze_context_device.cpp @@ -1,4 +1,8 @@ // REQUIRES: level_zero, level_zero_dev_kit + +// UNSUPPORTED: arch-intel_gpu_mtl_u +// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/20898 + // RUN: %{build} -o %t.out %level_zero_options // RUN: %{run} %t.out diff --git a/sycl/test-e2e/Config/allowlist.cpp b/sycl/test-e2e/Config/allowlist.cpp index a490b86a7fa55..cab979e4d8395 100644 --- a/sycl/test-e2e/Config/allowlist.cpp +++ b/sycl/test-e2e/Config/allowlist.cpp @@ -1,3 +1,6 @@ +// UNSUPPORTED: linux && arch-intel_gpu_mtl_u +// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/20899 + // RUN: %{build} -o %t.out // // RUN: env PRINT_DEVICE_INFO=1 %{run-unfiltered-devices} %t.out > %t1.conf diff --git a/sycl/test-e2e/GroupAlgorithm/SYCL2020/group_sort/group_and_joint_sort.cpp b/sycl/test-e2e/GroupAlgorithm/SYCL2020/group_sort/group_and_joint_sort.cpp index 058494d745284..ea11f2fbcbf79 100644 --- a/sycl/test-e2e/GroupAlgorithm/SYCL2020/group_sort/group_and_joint_sort.cpp +++ b/sycl/test-e2e/GroupAlgorithm/SYCL2020/group_sort/group_and_joint_sort.cpp @@ -2,7 +2,7 @@ // UNSUPPORTED: target-nvidia || target-amd // UNSUPPORTED-INTENDED: subgroup size requirement implicitly make nvptx/amdgcn // not supported -// XFAIL: linux && run-mode && (gpu-intel-gen12 || gpu-intel-dg2) +// XFAIL: linux && run-mode && (gpu-intel-gen12 || gpu-intel-dg2 || arch-intel_gpu_mtl_u) // XFAIL-TRACKER: https://github.com/intel/llvm/issues/18577 // RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out diff --git a/sycl/test-e2e/KernelAndProgram/free_function_kernels.cpp b/sycl/test-e2e/KernelAndProgram/free_function_kernels.cpp index f1d6de05ab6fb..656d73bfd07c2 100644 --- a/sycl/test-e2e/KernelAndProgram/free_function_kernels.cpp +++ b/sycl/test-e2e/KernelAndProgram/free_function_kernels.cpp @@ -1,7 +1,8 @@ // REQUIRES: aspect-usm_shared_allocations // RUN: %{build} -o %t.out // RUN: %{run} %t.out -// UNSUPPORTED: run-mode && (gpu-intel-gen12 || gpu-intel-dg2 || gpu-intel-pvc-1T || arch-intel_gpu_bmg_g21 ) +// UNSUPPORTED: run-mode && (gpu-intel-gen12 || gpu-intel-dg2 || gpu-intel-pvc-1T) +// UNSUPPORTED: run-mode && (arch-intel_gpu_bmg_g21 || arch-intel_gpu_mtl_u) // UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/20244 // This test tests free function kernel code generation and execution. diff --git a/sycl/test-e2e/Regression/cache_test.cpp b/sycl/test-e2e/Regression/cache_test.cpp index f4f7e8832b097..59bf0af60dc2d 100644 --- a/sycl/test-e2e/Regression/cache_test.cpp +++ b/sycl/test-e2e/Regression/cache_test.cpp @@ -1,4 +1,8 @@ // REQUIRES: level_zero, level_zero_dev_kit + +// UNSUPPORTED: arch-intel_gpu_mtl_u +// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/20900 + // RUN: %{build} %level_zero_options -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test-e2e/bindless_images/read_sampled.cpp b/sycl/test-e2e/bindless_images/read_sampled.cpp index c4b39ae12e96f..2c5fc2160b87e 100644 --- a/sycl/test-e2e/bindless_images/read_sampled.cpp +++ b/sycl/test-e2e/bindless_images/read_sampled.cpp @@ -3,7 +3,7 @@ // UNSUPPORTED: hip // UNSUPPORTED-INTENDED: Returning non-FP values from sampling fails on HIP. -// UNSUPPORTED: linux && arch-intel_gpu_bmg_g21 && level_zero_v2_adapter +// UNSUPPORTED: linux && ( arch-intel_gpu_bmg_g21 || arch-intel_gpu_mtl_u ) && level_zero_v2_adapter // UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/20223 // RUN: %{build} -o %t.out From 378a189b7cbfde7d98beeda88532047c2f91d236 Mon Sep 17 00:00:00 2001 From: "Mateusz P. Nowak" Date: Thu, 18 Dec 2025 14:57:25 +0000 Subject: [PATCH 4/4] fix of bindless_images/read_sampled.cpp test to be run on proper device --- sycl/test-e2e/bindless_images/read_sampled.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/test-e2e/bindless_images/read_sampled.cpp b/sycl/test-e2e/bindless_images/read_sampled.cpp index 2c5fc2160b87e..c30f0a05b2c65 100644 --- a/sycl/test-e2e/bindless_images/read_sampled.cpp +++ b/sycl/test-e2e/bindless_images/read_sampled.cpp @@ -3,11 +3,11 @@ // UNSUPPORTED: hip // UNSUPPORTED-INTENDED: Returning non-FP values from sampling fails on HIP. -// UNSUPPORTED: linux && ( arch-intel_gpu_bmg_g21 || arch-intel_gpu_mtl_u ) && level_zero_v2_adapter +// UNSUPPORTED: linux && arch-intel_gpu_bmg_g21 && level_zero_v2_adapter // UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/20223 // RUN: %{build} -o %t.out -// RUN: %{run-unfiltered-devices} %t.out +// RUN: %{run} %t.out // Print test names and pass status // #define VERBOSE_LV1