From dcab01d0188913f5d54826f32ed2caafbb715915 Mon Sep 17 00:00:00 2001 From: "Skrobot, Daniel" Date: Mon, 13 Jul 2026 14:24:46 +0200 Subject: [PATCH 1/4] Test for DG2 --- .github/workflows/sycl-post-commit.yml | 140 +++++++----------- .../dx11_interop/lit.local.cfg | 1 - .../dx12_interop/lit.local.cfg | 1 - sycl/test-e2e/bindless_images/lit.local.cfg | 2 +- .../vulkan_interop/lit.local.cfg | 1 - 5 files changed, 53 insertions(+), 92 deletions(-) diff --git a/.github/workflows/sycl-post-commit.yml b/.github/workflows/sycl-post-commit.yml index bd4dea471c8a9..f07a45b28e8cc 100644 --- a/.github/workflows/sycl-post-commit.yml +++ b/.github/workflows/sycl-post-commit.yml @@ -28,86 +28,6 @@ concurrency: permissions: read-all jobs: - detect_changes: - if: ${{ github.event_name == 'pull_request' }} - uses: ./.github/workflows/sycl-detect-changes.yml - - build-lin: - name: Linux (GCC + no-assertions) - if: github.repository == 'intel/llvm' - uses: ./.github/workflows/sycl-linux-build.yml - with: - build_cache_root: "/__w/llvm" - build_cache_suffix: default - build_configure_extra_args: --no-assertions --cuda --native_cpu -DSYCL_ENABLE_STACK_PRINTING=ON -DSYCL_LIB_WITH_DEBUG_SYMBOL=ON - - toolchain_artifact: sycl_linux_default - e2e_binaries_spirv_backend_artifact: e2e_bin_spirv_backend - - e2e-lin: - needs: [detect_changes, build-lin] - if: ${{ !cancelled() && needs.build-lin.outputs.build_conclusion == 'success' }} - permissions: - contents: write - packages: read - strategy: - fail-fast: false - matrix: - include: - - name: Intel GEN12 Graphics with Level Zero - runner: '["Linux", "gen12"]' - target_devices: level_zero:gpu - - name: Intel Arc A-Series Graphics with Level Zero - runner: '["Linux", "arc"]' - # Performance tests below. Specifics: - # - only run performance tests (use LIT_FILTER env) - # - ask llvm-lit to show all the output, even for PASS (-a) - # - run in single thread (-j 1) - # - enable the tests in LIT (--param enable-perf-tests=True) - # - run on all available devices. - - name: Perf tests on Intel GEN12 Graphics system - runner: '["Linux", "gen12"]' - env: '{"LIT_FILTER":"PerformanceTests/"}' - extra_lit_opts: -a -j 1 --param enable-perf-tests=True - target_devices: all - - name: Perf tests on Intel Arc A-Series Graphics system - runner: '["Linux", "arc"]' - env: '{"LIT_FILTER":"PerformanceTests/"}' - extra_lit_opts: -a -j 1 --param enable-perf-tests=True - target_devices: all - - name: SPIR-V Backend / Intel Battlemage Graphics - runner: '["Linux", "bmg"]' - image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN - target_devices: level_zero:gpu;opencl:gpu;opencl:cpu - extra_lit_opts: --param spirv-backend=True - binaries_artifact: e2e_bin_spirv_backend - testing_mode: 'run-only' - uses: ./.github/workflows/sycl-linux-run-tests.yml - with: - name: ${{ matrix.name }} - runner: ${{ matrix. runner }} - image_options: ${{ matrix.image_options || '-u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN' }} - target_devices: ${{ matrix.target_devices || 'level_zero:gpu' }} - - extra_lit_opts: ${{ matrix.extra_lit_opts }} - env: ${{ matrix.env || '{}' }} - - repo_ref: ${{ github.sha }} - - toolchain_artifact: ${{ needs.build-lin.outputs.toolchain_artifact }} - toolchain_artifact_filename: ${{ needs.build-lin.outputs.toolchain_artifact_filename }} - toolchain_decompress_command: ${{ needs.build-lin.outputs.toolchain_decompress_command }} - - binaries_artifact: ${{ matrix.binaries_artifact }} - testing_mode: ${{ matrix.testing_mode || 'full' }} - - # Do not install drivers on AMD and CUDA runners. - install_igc_driver: >- - ${{ github.event_name == 'pull_request' }} && - ${{ !contains(matrix.target_devices, 'cuda') && - !contains(matrix.target_devices, 'hip') && - contains(needs.detect_changes.outputs.filters, 'drivers') }} - build-win: if: | success() && @@ -118,7 +38,7 @@ jobs: build_configure_extra_args: -DCMAKE_C_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_CXX_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_EXE_LINKER_FLAGS=/manifest:no -DCMAKE_MODULE_LINKER_FLAGS=/manifest:no -DCMAKE_SHARED_LINKER_FLAGS=/manifest:no build_cache_suffix: icx - e2e-win-gen12: + e2e-win-dg2-1: needs: build-win # Continue if build was successful. if: | @@ -126,15 +46,14 @@ jobs: needs.build-win.outputs.build_conclusion == 'success' uses: ./.github/workflows/sycl-windows-run-tests.yml with: - name: Intel GEN12 Graphics with Level Zero - runner: '["Windows","gen12"]' + name: Intel Arc A-Series Graphics with Level Zero + runner: '["Windows","dg2"]' target_devices: "level_zero:gpu" toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }} cxx: icx # https://github.com/intel/llvm/issues/18458 env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}" - - e2e-win-bmg: + e2e-win-dg2-2: needs: build-win # Continue if build was successful. if: | @@ -142,14 +61,59 @@ jobs: needs.build-win.outputs.build_conclusion == 'success' uses: ./.github/workflows/sycl-windows-run-tests.yml with: - name: Intel Battlemage Graphics with Level Zero - runner: '["Windows","bmg"]' + name: Intel Arc A-Series Graphics with Level Zero + runner: '["Windows","dg2"]' target_devices: "level_zero:gpu" toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }} cxx: icx # https://github.com/intel/llvm/issues/18458 env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}" - + e2e-win-dg2-3: + needs: build-win + # Continue if build was successful. + if: | + !cancelled() && + needs.build-win.outputs.build_conclusion == 'success' + uses: ./.github/workflows/sycl-windows-run-tests.yml + with: + name: Intel Arc A-Series Graphics with Level Zero + runner: '["Windows","dg2"]' + target_devices: "level_zero:gpu" + toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }} + cxx: icx + # https://github.com/intel/llvm/issues/18458 + env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}" + e2e-win-dg2-4: + needs: build-win + # Continue if build was successful. + if: | + !cancelled() && + needs.build-win.outputs.build_conclusion == 'success' + uses: ./.github/workflows/sycl-windows-run-tests.yml + with: + name: Intel Arc A-Series Graphics with Level Zero + runner: '["Windows","dg2"]' + target_devices: "level_zero:gpu" + toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }} + cxx: icx + # https://github.com/intel/llvm/issues/18458 + env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}" + e2e-win-dg2-5: + needs: build-win + # Continue if build was successful. + if: | + !cancelled() && + needs.build-win.outputs.build_conclusion == 'success' + uses: ./.github/workflows/sycl-windows-run-tests.yml + with: + name: Intel Arc A-Series Graphics with Level Zero + runner: '["Windows","dg2"]' + target_devices: "level_zero:gpu" + toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }} + cxx: icx + # https://github.com/intel/llvm/issues/18458 + env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}" + macos_default: name: macOS if: github.repository == 'intel/llvm' diff --git a/sycl/test-e2e/bindless_images/dx11_interop/lit.local.cfg b/sycl/test-e2e/bindless_images/dx11_interop/lit.local.cfg index 94adb9b907992..33b7a56af685e 100644 --- a/sycl/test-e2e/bindless_images/dx11_interop/lit.local.cfg +++ b/sycl/test-e2e/bindless_images/dx11_interop/lit.local.cfg @@ -1,3 +1,2 @@ if 'windows' in config.available_features: - config.unsupported_features.remove('gpu-intel-dg2') config.unsupported_features.remove('arch-intel_gpu_bmg_g21') diff --git a/sycl/test-e2e/bindless_images/dx12_interop/lit.local.cfg b/sycl/test-e2e/bindless_images/dx12_interop/lit.local.cfg index 94adb9b907992..33b7a56af685e 100644 --- a/sycl/test-e2e/bindless_images/dx12_interop/lit.local.cfg +++ b/sycl/test-e2e/bindless_images/dx12_interop/lit.local.cfg @@ -1,3 +1,2 @@ if 'windows' in config.available_features: - config.unsupported_features.remove('gpu-intel-dg2') config.unsupported_features.remove('arch-intel_gpu_bmg_g21') diff --git a/sycl/test-e2e/bindless_images/lit.local.cfg b/sycl/test-e2e/bindless_images/lit.local.cfg index 7d65cda75cb36..b99cabfc4a0d2 100644 --- a/sycl/test-e2e/bindless_images/lit.local.cfg +++ b/sycl/test-e2e/bindless_images/lit.local.cfg @@ -7,4 +7,4 @@ cl_options = 'cl_options' in config.available_features # https://github.com/intel/llvm/issues/20562 if 'windows' in config.available_features: - config.unsupported_features += ['gpu-intel-dg2','arch-intel_gpu_bmg_g21'] + config.unsupported_features += ['arch-intel_gpu_bmg_g21'] diff --git a/sycl/test-e2e/bindless_images/vulkan_interop/lit.local.cfg b/sycl/test-e2e/bindless_images/vulkan_interop/lit.local.cfg index 5b5d08cecae57..de75211e93da8 100644 --- a/sycl/test-e2e/bindless_images/vulkan_interop/lit.local.cfg +++ b/sycl/test-e2e/bindless_images/vulkan_interop/lit.local.cfg @@ -2,5 +2,4 @@ config.unsupported_features += ['arch-intel_gpu_pvc'] if 'windows' in config.available_features: - config.unsupported_features.remove('gpu-intel-dg2') config.unsupported_features.remove('arch-intel_gpu_bmg_g21') From 1f6e6cef95737a98a915b12ace866476651d4c1b Mon Sep 17 00:00:00 2001 From: "Skrobot, Daniel" Date: Mon, 13 Jul 2026 14:55:11 +0200 Subject: [PATCH 2/4] fix --- .github/workflows/sycl-post-commit.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/sycl-post-commit.yml b/.github/workflows/sycl-post-commit.yml index f07a45b28e8cc..368672e67b490 100644 --- a/.github/workflows/sycl-post-commit.yml +++ b/.github/workflows/sycl-post-commit.yml @@ -28,6 +28,10 @@ concurrency: permissions: read-all jobs: + detect_changes: + if: ${{ github.event_name == 'pull_request' }} + uses: ./.github/workflows/sycl-detect-changes.yml + build-win: if: | success() && From 596b8f9c124d3820cb8c4c8c413f965895a6f7f0 Mon Sep 17 00:00:00 2001 From: "Skrobot, Daniel" Date: Mon, 13 Jul 2026 14:59:20 +0200 Subject: [PATCH 3/4] change on arc --- .github/workflows/sycl-post-commit.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/sycl-post-commit.yml b/.github/workflows/sycl-post-commit.yml index 368672e67b490..17c02061f9a63 100644 --- a/.github/workflows/sycl-post-commit.yml +++ b/.github/workflows/sycl-post-commit.yml @@ -31,7 +31,7 @@ jobs: detect_changes: if: ${{ github.event_name == 'pull_request' }} uses: ./.github/workflows/sycl-detect-changes.yml - + build-win: if: | success() && @@ -42,7 +42,7 @@ jobs: build_configure_extra_args: -DCMAKE_C_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_CXX_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_EXE_LINKER_FLAGS=/manifest:no -DCMAKE_MODULE_LINKER_FLAGS=/manifest:no -DCMAKE_SHARED_LINKER_FLAGS=/manifest:no build_cache_suffix: icx - e2e-win-dg2-1: + e2e-win-arc-1: needs: build-win # Continue if build was successful. if: | @@ -51,13 +51,13 @@ jobs: uses: ./.github/workflows/sycl-windows-run-tests.yml with: name: Intel Arc A-Series Graphics with Level Zero - runner: '["Windows","dg2"]' + runner: '["Windows","arc"]' target_devices: "level_zero:gpu" toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }} cxx: icx # https://github.com/intel/llvm/issues/18458 env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}" - e2e-win-dg2-2: + e2e-win-arc-2: needs: build-win # Continue if build was successful. if: | @@ -66,13 +66,13 @@ jobs: uses: ./.github/workflows/sycl-windows-run-tests.yml with: name: Intel Arc A-Series Graphics with Level Zero - runner: '["Windows","dg2"]' + runner: '["Windows","arc"]' target_devices: "level_zero:gpu" toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }} cxx: icx # https://github.com/intel/llvm/issues/18458 env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}" - e2e-win-dg2-3: + e2e-win-arc-3: needs: build-win # Continue if build was successful. if: | @@ -81,13 +81,13 @@ jobs: uses: ./.github/workflows/sycl-windows-run-tests.yml with: name: Intel Arc A-Series Graphics with Level Zero - runner: '["Windows","dg2"]' + runner: '["Windows","arc"]' target_devices: "level_zero:gpu" toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }} cxx: icx # https://github.com/intel/llvm/issues/18458 env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}" - e2e-win-dg2-4: + e2e-win-arc-4: needs: build-win # Continue if build was successful. if: | @@ -96,13 +96,13 @@ jobs: uses: ./.github/workflows/sycl-windows-run-tests.yml with: name: Intel Arc A-Series Graphics with Level Zero - runner: '["Windows","dg2"]' + runner: '["Windows","arc"]' target_devices: "level_zero:gpu" toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }} cxx: icx # https://github.com/intel/llvm/issues/18458 env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}" - e2e-win-dg2-5: + e2e-win-arc-5: needs: build-win # Continue if build was successful. if: | @@ -111,7 +111,7 @@ jobs: uses: ./.github/workflows/sycl-windows-run-tests.yml with: name: Intel Arc A-Series Graphics with Level Zero - runner: '["Windows","dg2"]' + runner: '["Windows","arc"]' target_devices: "level_zero:gpu" toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }} cxx: icx From a369b70d7cb8e3302c0730aec1ad9b02e250f43f Mon Sep 17 00:00:00 2001 From: "Skrobot, Daniel" Date: Mon, 13 Jul 2026 15:09:45 +0200 Subject: [PATCH 4/4] fix --- .github/workflows/sycl-post-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sycl-post-commit.yml b/.github/workflows/sycl-post-commit.yml index 17c02061f9a63..ee5a7776a1d76 100644 --- a/.github/workflows/sycl-post-commit.yml +++ b/.github/workflows/sycl-post-commit.yml @@ -57,7 +57,7 @@ jobs: cxx: icx # https://github.com/intel/llvm/issues/18458 env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}" - e2e-win-arc-2: + e2e-win-arc-2: needs: build-win # Continue if build was successful. if: |