5151 changes : ${{ needs.detect_changes.outputs.filters }}
5252 e2e_binaries_artifact : sycl_e2e_bin_default
5353
54- determine_arc_tests :
55- name : Decide which Arc tests to run
56- needs : [build, detect_changes]
57- if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
58- runs-on : [Linux, aux-tasks]
59- timeout-minutes : 3
60- outputs :
61- arc_tests : ${{ steps.arc_tests.outputs.arc_tests }}
62- steps :
63- - name : Determine Arc tests
64- id : arc_tests
65- run : |
66- if [ "${{ contains(needs.detect_changes.outputs.filters, 'devigccfg') }}" == "true" ]; then
67- echo 'arc_tests="(ESIMD|InvokeSimd|Matrix)/"' >> "$GITHUB_OUTPUT"
68- elif [ "${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}" == "true" ]; then
69- echo 'arc_tests=""' >> "$GITHUB_OUTPUT"
70- elif [ "${{ contains(needs.detect_changes.outputs.filters, 'esimd') }}" == "true" ]; then
71- echo 'arc_tests="(ESIMD|InvokeSimd|Matrix)/"' >> "$GITHUB_OUTPUT"
72- else
73- echo 'arc_tests="Matrix/"' >> "$GITHUB_OUTPUT"
74- fi
75-
7654 run_prebuilt_e2e_tests :
77- needs : [build, detect_changes, determine_arc_tests ]
55+ needs : [build, detect_changes]
7856 if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
7957 strategy :
8058 fail-fast : false
@@ -90,18 +68,37 @@ jobs:
9068 runner : ' ["Linux", "cuda"]'
9169 image_options : -u 1001 --gpus all --cap-add SYS_ADMIN
9270 target_devices : cuda:gpu
71+ - name : AMD/HIP
72+ runner : ' ["Linux", "amdgpu"]'
73+ image_options : -u 1001 --device=/dev/dri --device=/dev/kfd
74+ target_devices : hip:gpu
75+ reset_intel_gpu : false
9376 - name : Intel Arc A-Series Graphics
9477 runner : ' ["Linux", "arc"]'
9578 image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
9679 target_devices : level_zero:gpu;opencl:gpu
9780 reset_intel_gpu : true
9881 extra_lit_opts : --param matrix-xmx8=True
99- env : ' {"LIT_FILTER":${{ needs.determine_arc_tests.outputs.arc_tests }} }'
82+ - name : E2E tests with dev igc on Intel Arc A-Series Graphics
83+ runner : ' ["Linux", "arc"]'
84+ image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
85+ image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
86+ target_devices : level_zero:gpu;opencl:gpu
87+ reset_intel_gpu : true
88+ extra_lit_opts : --param matrix-xmx8=True
89+ use_igc_dev : true
90+ - name : E2E tests on Intel Ponte Vecchio GPU
91+ runner : ' ["Linux", "pvc"]'
92+ image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
93+ target_devices : level_zero:gpu;opencl:gpu
94+ reset_intel_gpu : true
95+ extra_lit_opts : -j 50
10096 - name : Dev IGC on Intel Ponte Vecchio GPU
10197 runner : ' ["Linux", "pvc"]'
10298 image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
10399 image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
104100 target_devices : level_zero:gpu;opencl:gpu
101+ reset_intel_gpu : true
105102 use_igc_dev : true
106103 extra_lit_opts : -j 50
107104 - name : Intel Battlemage Graphics
@@ -140,65 +137,6 @@ jobs:
140137 # Run only if the PR does not have the 'ci-no-devigc' label.
141138 skip_run : ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}}
142139
143- test :
144- needs : [build, detect_changes, determine_arc_tests]
145- if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
146- strategy :
147- fail-fast : false
148- matrix :
149- include :
150- - name : AMD/HIP
151- runner : ' ["Linux", "amdgpu"]'
152- image_options : -u 1001 --device=/dev/dri --device=/dev/kfd
153- target_devices : hip:gpu
154- reset_intel_gpu : false
155- - name : E2E tests with dev igc on Intel Arc A-Series Graphics
156- runner : ' ["Linux", "arc"]'
157- image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
158- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
159- target_devices : level_zero:gpu;opencl:gpu
160- reset_intel_gpu : true
161- extra_lit_opts : --param matrix-xmx8=True
162- env : ' {"LIT_FILTER":${{ needs.determine_arc_tests.outputs.arc_tests }} }'
163- use_igc_dev : true
164- - name : E2E tests on Intel Ponte Vecchio GPU
165- runner : ' ["Linux", "pvc"]'
166- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
167- target_devices : level_zero:gpu;opencl:gpu
168- extra_lit_opts : -j 50
169-
170- uses : ./.github/workflows/sycl-linux-run-tests.yml
171- with :
172- name : ${{ matrix.name }}
173- runner : ${{ matrix. runner }}
174- image : ${{ matrix.image }}
175- image_options : ${{ matrix.image_options }}
176- target_devices : ${{ matrix.target_devices }}
177- reset_intel_gpu : ${{ matrix.reset_intel_gpu }}
178- extra_lit_opts : ${{ matrix.extra_lit_opts }}
179- env : ${{ matrix.env || '{}' }}
180-
181- # Do not install drivers on AMD and CUDA runners.
182- install_igc_driver : >-
183- ${{ !contains(matrix.target_devices, 'cuda') &&
184- !contains(matrix.target_devices, 'hip') &&
185- contains(needs.detect_changes.outputs.filters, 'drivers') }}
186- install_dev_igc_driver : >-
187- ${{ !contains(matrix.target_devices, 'cuda') &&
188- !contains(matrix.target_devices, 'hip') &&
189- matrix.use_igc_dev &&
190- (contains(needs.detect_changes.outputs.filters, 'devigccfg') || contains(needs.detect_changes.outputs.filters, 'drivers')) ||
191- 'false' }}
192- # Run only if the PR does not have the 'ci-no-devigc' label.
193- skip_run : ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}}
194-
195- ref : ${{ github.sha }}
196-
197- sycl_toolchain_artifact : sycl_linux_default
198- sycl_toolchain_archive : ${{ needs.build.outputs.artifact_archive_name }}
199- sycl_toolchain_decompress_command : ${{ needs.build.outputs.artifact_decompress_command }}
200-
201-
202140 test-perf :
203141 needs : [build, detect_changes]
204142 if : |
0 commit comments