2222 - ' .github/workflows/sycl-macos-*.yml'
2323 - ' .github/workflows/sycl-nightly.yml'
2424 - ' .github/workflows/sycl-rel-nightly.yml'
25+ - ' .github/workflows/trivy.yml'
2526 - ' devops/containers/**'
2627 - ' devops/actions/build_container/**'
28+ - ' unified-runtime/examples/**'
29+ - ' unified-runtime/scripts/**'
30+ - ' unified-runtime/test/**'
31+ - ' unified-runtime/third_party/**'
32+ - ' unified-runtime/tools/**'
2733
2834concurrency :
2935 # Cancel a currently running workflow from the same PR, branch or tag.
5258 changes : ${{ needs.detect_changes.outputs.filters }}
5359 e2e_binaries_artifact : sycl_e2e_bin_default
5460
61+ # If a PR changes CUDA adapter, run the build on Ubuntu 22.04 as well.
62+ # Ubuntu 22.04 container has CUDA 12.1 installed while Ubuntu 24.0 image
63+ # has CUDA 12.6.1 installed.
64+ # The idea is to ensure that the code works with both CUDA versions.
65+ build_ubuntu2204 :
66+ needs : [detect_changes]
67+ if : always() && !cancelled() && contains(needs.detect_changes.outputs.filters, 'ur_cuda_adapter')
68+ uses : ./.github/workflows/sycl-linux-build.yml
69+ with :
70+ build_ref : ${{ github.sha }}
71+ build_cache_root : " /__w/"
72+ build_artifact_suffix : " default"
73+ build_cache_suffix : " default"
74+ build_image : " ghcr.io/intel/llvm/ubuntu2204_build:latest"
75+ changes : ${{ needs.detect_changes.outputs.filters }}
76+
5577 run_prebuilt_e2e_tests :
5678 needs : [build, detect_changes]
5779 if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
6385 runner : ' ["Linux", "gen12"]'
6486 image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
6587 target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
66- reset_intel_gpu : true
6788 extra_lit_opts : --param gpu-intel-gen12=True
6889 - name : NVIDIA/CUDA
6990 runner : ' ["Linux", "cuda"]'
@@ -73,46 +94,39 @@ jobs:
7394 runner : ' ["Linux", "amdgpu"]'
7495 image_options : -u 1001 --device=/dev/dri --device=/dev/kfd
7596 target_devices : hip:gpu
76- reset_intel_gpu : false
7797 extra_lit_opts : -j 1
7898 - name : Intel Arc A-Series Graphics
7999 runner : ' ["Linux", "arc"]'
80100 image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
81101 target_devices : level_zero:gpu;opencl:gpu;level_zero_v2:gpu
82- reset_intel_gpu : true
83102 extra_lit_opts : --param matrix-xmx8=True
84103 - name : E2E tests with dev igc on Intel Arc A-Series Graphics
85104 runner : ' ["Linux", "arc"]'
86105 image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
87106 image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
88107 target_devices : level_zero:gpu;opencl:gpu
89- reset_intel_gpu : true
90108 extra_lit_opts : --param matrix-xmx8=True
91109 use_igc_dev : true
92110 - name : E2E tests on Intel Ponte Vecchio GPU
93111 runner : ' ["Linux", "pvc"]'
94112 image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
95113 target_devices : level_zero:gpu;opencl:gpu
96- reset_intel_gpu : true
97114 extra_lit_opts : -j 50
98115 - name : Dev IGC on Intel Ponte Vecchio GPU
99116 runner : ' ["Linux", "pvc"]'
100117 image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
101118 image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
102119 target_devices : level_zero:gpu;opencl:gpu
103- reset_intel_gpu : true
104120 use_igc_dev : true
105121 extra_lit_opts : -j 50
106122 - name : Intel Battlemage Graphics
107123 runner : ' ["Linux", "bmg"]'
108124 image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
109125 target_devices : level_zero:gpu
110- reset_intel_gpu : true
111126 - name : SPIR-V Backend / Intel Battlemage Graphics
112127 runner : ' ["Linux", "bmg"]'
113128 image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
114129 target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
115- reset_intel_gpu : true
116130 extra_lit_opts : --param spirv-backend=True
117131 e2e_binaries_artifact : sycl_e2e_bin_default_spirv_backend
118132 uses : ./.github/workflows/sycl-linux-run-tests.yml
@@ -123,7 +137,6 @@ jobs:
123137 image_options : ${{ matrix.image_options }}
124138 target_devices : ${{ matrix.target_devices }}
125139 extra_lit_opts : ${{ matrix.extra_lit_opts }}
126- reset_intel_gpu : ${{ matrix.reset_intel_gpu }}
127140 repo_ref : ${{ github.sha }}
128141 sycl_toolchain_artifact : sycl_linux_default
129142 sycl_toolchain_archive : ${{ needs.build.outputs.artifact_archive_name }}
@@ -159,11 +172,9 @@ jobs:
159172 - name : Intel GEN12 Graphics system
160173 runner : ' ["Linux", "gen12"]'
161174 image_extra_opts : --device=/dev/dri
162- reset_intel_gpu : true
163175 - name : Intel Arc A-Series Graphics system
164176 runner : ' ["Linux", "arc"]'
165177 image_extra_opts : --device=/dev/dri
166- reset_intel_gpu : true
167178 - name : AMD system
168179 runner : ' ["Linux", "amdgpu"]'
169180 image_extra_opts : --device=/dev/dri --device=/dev/kfd
@@ -176,7 +187,6 @@ jobs:
176187 runner : ${{ matrix. runner }}
177188 image_options : -u 1001 --privileged --cap-add SYS_ADMIN ${{ matrix.image_extra_opts }}
178189 target_devices : all
179- reset_intel_gpu : ${{ matrix.reset_intel_gpu }}
180190
181191 env : ' {"LIT_FILTER":"PerformanceTests/"}'
182192 extra_lit_opts : -a -j 1 --param enable-perf-tests=True
0 commit comments