@@ -74,22 +74,37 @@ jobs:
74
74
fi
75
75
76
76
run_prebuilt_e2e_tests :
77
- needs : [build]
77
+ needs : [build, detect_changes, determine_arc_tests ]
78
78
if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
79
79
strategy :
80
80
fail-fast : false
81
81
matrix :
82
82
include :
83
- - name : Intel
83
+ - name : GEN 12 Integrated
84
84
runner : ' ["Linux", "gen12"]'
85
85
image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
86
86
target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
87
87
reset_intel_gpu : true
88
88
extra_lit_opts : --param gpu-intel-gen12=True
89
+ - name : Intel Arc A-Series Graphics
90
+ runner : ' ["Linux", "arc"]'
91
+ image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
92
+ target_devices : level_zero:gpu;opencl:gpu
93
+ reset_intel_gpu : true
94
+ extra_lit_opts : --param matrix-xmx8=True
95
+ env : ' {"LIT_FILTER":${{ needs.determine_arc_tests.outputs.arc_tests }} }'
96
+ - name : Dev IGC on Intel Ponte Vecchio GPU
97
+ runner : ' ["Linux", "pvc"]'
98
+ image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
99
+ image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
100
+ target_devices : level_zero:gpu;opencl:gpu
101
+ use_igc_dev : true
102
+ extra_lit_opts : -j 50
89
103
uses : ./.github/workflows/sycl-linux-run-tests.yml
90
104
with :
91
105
name : ${{ matrix.name }}
92
106
runner : ${{ matrix.runner }}
107
+ image : ${{ matrix.image }}
93
108
image_options : ${{ matrix.image_options }}
94
109
target_devices : ${{ matrix.target_devices }}
95
110
extra_lit_opts : --param fallback-to-build-if-requires-build-and-run=True ${{ matrix.extra_lit_opts }}
@@ -101,6 +116,20 @@ jobs:
101
116
e2e_binaries_artifact : sycl_e2e_bin_default
102
117
e2e_testing_mode : ' run-only'
103
118
119
+ # Do not install drivers on AMD and CUDA runners.
120
+ install_igc_driver : >-
121
+ ${{ !contains(matrix.target_devices, 'cuda') &&
122
+ !contains(matrix.target_devices, 'hip') &&
123
+ contains(needs.detect_changes.outputs.filters, 'drivers') }}
124
+ install_dev_igc_driver : >-
125
+ ${{ !contains(matrix.target_devices, 'cuda') &&
126
+ !contains(matrix.target_devices, 'hip') &&
127
+ matrix.use_igc_dev &&
128
+ (contains(needs.detect_changes.outputs.filters, 'devigccfg') || contains(needs.detect_changes.outputs.filters, 'drivers')) ||
129
+ 'false' }}
130
+ # Run only if the PR does not have the 'ci-no-devigc' label.
131
+ skip_run : ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}}
132
+
104
133
test :
105
134
needs : [build, detect_changes, determine_arc_tests]
106
135
if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
@@ -117,13 +146,6 @@ jobs:
117
146
image_options : -u 1001 --device=/dev/dri --device=/dev/kfd
118
147
target_devices : hip:gpu
119
148
reset_intel_gpu : false
120
- - name : E2E tests on Intel Arc A-Series Graphics
121
- runner : ' ["Linux", "arc"]'
122
- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
123
- target_devices : level_zero:gpu;opencl:gpu
124
- reset_intel_gpu : true
125
- extra_lit_opts : --param matrix-xmx8=True
126
- env : ' {"LIT_FILTER":${{ needs.determine_arc_tests.outputs.arc_tests }} }'
127
149
- name : E2E tests with dev igc on Intel Arc A-Series Graphics
128
150
runner : ' ["Linux", "arc"]'
129
151
image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
@@ -138,13 +160,6 @@ jobs:
138
160
image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
139
161
target_devices : level_zero:gpu;opencl:gpu
140
162
extra_lit_opts : -j 50
141
- - name : E2E tests with dev igc on Intel Ponte Vecchio GPU
142
- runner : ' ["Linux", "pvc"]'
143
- image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
144
- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
145
- target_devices : level_zero:gpu;opencl:gpu
146
- use_igc_dev : true
147
- extra_lit_opts : -j 50
148
163
149
164
uses : ./.github/workflows/sycl-linux-run-tests.yml
150
165
with :
0 commit comments