4646 build_artifact_suffix : " default"
4747 build_cache_suffix : " default"
4848 changes : ${{ needs.detect_changes.outputs.filters }}
49- build_image : " ghcr.io/intel/llvm/ubuntu2204_build:latest-0300ac924620a51f76c4929794637b82790f12ab"
5049
5150 determine_arc_tests :
5251 name : Decide which Arc tests to run
@@ -81,40 +80,30 @@ jobs:
8180 image : ghcr.io/intel/llvm/ubuntu2204_build:latest
8281 image_options : -u 1001 --gpus all --cap-add SYS_ADMIN
8382 target_devices : ext_oneapi_cuda:gpu
84- - name : AMD/HIP
85- runner : ' ["Linux", "amdgpu"]'
86- image : ghcr.io/intel/llvm/ubuntu2204_build:latest-0300ac924620a51f76c4929794637b82790f12ab
87- image_options : -u 1001 --device=/dev/dri --device=/dev/kfd
88- target_devices : ext_oneapi_hip:gpu
8983 - name : Intel
9084 runner : ' ["Linux", "gen12"]'
9185 image : ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
92- image_options : -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
86+ image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path - -privileged --cap-add SYS_ADMIN
9387 target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
94- reset_gpu : true
95- install_drivers : ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
88+ reset_intel_gpu : true
9689 extra_lit_opts : --param gpu-intel-gen12=True
9790 - name : E2E tests on Intel Arc A-Series Graphics
9891 runner : ' ["Linux", "arc"]'
9992 image : ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
100- image_options : -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
93+ image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path - -privileged --cap-add SYS_ADMIN
10194 target_devices : level_zero:gpu;opencl:gpu
102- reset_gpu : true
103- install_drivers : ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
95+ reset_intel_gpu : true
10496 extra_lit_opts : --param matrix-xmx8=True --param gpu-intel-dg2=True
10597 env : ' {"LIT_FILTER":${{ needs.determine_arc_tests.outputs.arc_tests }} }'
10698 - name : E2E tests with dev igc on Intel Arc A-Series Graphics
10799 runner : ' ["Linux", "arc"]'
108- image : ghcr.io/intel/llvm/ubuntu2204_intel_drivers:${{ contains(github.event.pull_request.labels.*.name, 'ci-no- devigc') && 'latest' || 'devigc' }}
109- image_options : -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
100+ image : ghcr.io/intel/llvm/ubuntu2204_intel_drivers:devigc
101+ image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path - -privileged --cap-add SYS_ADMIN
110102 target_devices : level_zero:gpu;opencl:gpu
111- reset_gpu : true
112- install_drivers : >-
113- ${{ contains(needs.detect_changes.outputs.filters, 'drivers') ||
114- contains(needs.detect_changes.outputs.filters, 'devigccfg') }}
115- use_dev_igc : ${{ contains(needs.detect_changes.outputs.filters, 'devigccfg') }}
103+ reset_intel_gpu : true
116104 extra_lit_opts : --param matrix-xmx8=True --param gpu-intel-dg2=True
117105 env : ' {"LIT_FILTER":${{ needs.determine_arc_tests.outputs.arc_tests }} }'
106+ use_igc_dev : true
118107
119108 uses : ./.github/workflows/sycl-linux-run-tests.yml
120109 with :
@@ -123,12 +112,23 @@ jobs:
123112 image : ${{ matrix.image }}
124113 image_options : ${{ matrix.image_options }}
125114 target_devices : ${{ matrix.target_devices }}
126- reset_gpu : ${{ matrix.reset_gpu }}
127- install_drivers : ${{ matrix.install_drivers }}
128- use_dev_igc : ${{ matrix.use_dev_igc }}
115+ reset_intel_gpu : ${{ matrix.reset_intel_gpu }}
129116 extra_lit_opts : ${{ matrix.extra_lit_opts }}
130117 env : ${{ matrix.env || '{}' }}
131118
119+ # Do not install drivers on AMD and CUDA runners.
120+ install_igc_driver : >-
121+ ${{ !contains(matrix.target_devices, 'ext_oneapi_cuda') &&
122+ !contains(matrix.target_devices, 'ext_oneapi_hip') &&
123+ contains(needs.detect_changes.outputs.filters, 'drivers') }}
124+ install_dev_igc_driver : >-
125+ ${{ !contains(matrix.target_devices, 'ext_oneapi_cuda') &&
126+ !contains(matrix.target_devices, 'ext_oneapi_hip') &&
127+ matrix.use_igc_dev && contains(needs.detect_changes.outputs.filters, 'devigccfg') ||
128+ 'false' }}
129+ # Run only if the PR does not have the 'ci-no-devigc' label.
130+ skip_run : ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}}
131+
132132 ref : ${{ github.sha }}
133133 merge_ref : ' '
134134
@@ -152,17 +152,16 @@ jobs:
152152 runner : ' ["Linux", "gen12"]'
153153 image : ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
154154 image_extra_opts : --device=/dev/dri
155- reset_gpu : true
155+ reset_intel_gpu : true
156156 - name : Intel Arc A-Series Graphics system
157157 runner : ' ["Linux", "arc"]'
158158 image : ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
159159 image_extra_opts : --device=/dev/dri
160- reset_gpu : true
160+ reset_intel_gpu : true
161161 - name : AMD system
162162 runner : ' ["Linux", "amdgpu"]'
163163 image : ghcr.io/intel/llvm/ubuntu2204_build:latest
164164 image_extra_opts : --device=/dev/dri --device=/dev/kfd
165- extra_cmake_args : -DHIP_PLATFORM="AMD" -DAMD_ARCH="gfx1031"
166165 - name : CUDA system
167166 runner : ' ["Linux", "cuda"]'
168167 image : ghcr.io/intel/llvm/ubuntu2204_build:latest
@@ -174,7 +173,7 @@ jobs:
174173 image : ${{ matrix.image }}
175174 image_options : -u 1001 --privileged --cap-add SYS_ADMIN ${{ matrix.image_extra_opts }}
176175 target_devices : all
177- reset_gpu : ${{ matrix.reset_gpu }}
176+ reset_intel_gpu : ${{ matrix.reset_intel_gpu }}
178177
179178 env : ' {"LIT_FILTER":"PerformanceTests/"}'
180179 extra_lit_opts : -a -j 1 --param enable-perf-tests=True
0 commit comments