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
@@ -86,13 +64,34 @@ jobs:
8664 target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
8765 reset_intel_gpu : true
8866 extra_lit_opts : --param gpu-intel-gen12=True
67+ - name : NVIDIA/CUDA
68+ runner : ' ["Linux", "cuda"]'
69+ image_options : -u 1001 --gpus all --cap-add SYS_ADMIN
70+ 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
8976 - name : Intel Arc A-Series Graphics
9077 runner : ' ["Linux", "arc"]'
9178 image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
9279 target_devices : level_zero:gpu;opencl:gpu
9380 reset_intel_gpu : true
9481 extra_lit_opts : --param matrix-xmx8=True
95- 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+ extra_lit_opts : -j 50
9695 - name : Dev IGC on Intel Ponte Vecchio GPU
9796 runner : ' ["Linux", "pvc"]'
9897 image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
@@ -136,69 +135,6 @@ jobs:
136135 # Run only if the PR does not have the 'ci-no-devigc' label.
137136 skip_run : ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}}
138137
139- test :
140- needs : [build, detect_changes, determine_arc_tests]
141- if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
142- strategy :
143- fail-fast : false
144- matrix :
145- include :
146- - name : NVIDIA/CUDA
147- runner : ' ["Linux", "cuda"]'
148- image_options : -u 1001 --gpus all --cap-add SYS_ADMIN
149- target_devices : cuda:gpu
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-
202138 test-perf :
203139 needs : [build, detect_changes]
204140 if : |
0 commit comments