62
62
e2e_binaries_artifact : e2e_bin
63
63
e2e_binaries_preview_artifact : e2e_bin_preview
64
64
65
+ # Build and run native cpu e2e tests separately as cannot currently
66
+ # build all the e2e tests
67
+ build_run_native_cpu_e2e_tests :
68
+ if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
69
+ runs-on : [Linux, build]
70
+ needs : [build]
71
+ container :
72
+ image : ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest
73
+ options : -u 1001:1001
74
+ steps :
75
+ - uses : actions/checkout@v4
76
+ with :
77
+ sparse-checkout : |
78
+ devops/
79
+
80
+ # download build artefact
81
+ - name : Download toolchain
82
+ uses : actions/download-artifact@v4
83
+ with :
84
+ name : sycl_linux_default
85
+ - name : Extract SYCL toolchain
86
+ shell : bash
87
+ run : |
88
+ mkdir toolchain
89
+ tar -xf llvm_sycl.tar.zst -C toolchain
90
+ rm llvm_sycl.tar.zst
91
+ - name : Build and run E2E tests
92
+ uses : ./devops/actions/run-tests/e2e
93
+ with :
94
+ ref : ${{ inputs.ref || github.sha }}
95
+ testing_mode : full
96
+ target_devices : native_cpu:cpu
97
+ sycl_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
98
+ extra_lit_opts : --param sycl_build_targets="native_cpu"
99
+ extra_cmake_args : -DSYCL_TEST_E2E_TARGETS="native_cpu:cpu" -DSYCL_TEST_E2E_STANDALONE=ON
100
+
65
101
# If a PR changes CUDA adapter, run the build on Ubuntu 22.04 as well.
66
102
# Ubuntu 22.04 container has CUDA 12.1 installed while Ubuntu 24.0 image
67
103
# has CUDA 12.6.1 installed.
@@ -100,14 +136,14 @@ jobs:
100
136
echo FILTER_6_2="$(grep -v '^#\|^\W*$' devops/compat_ci_exclude.sycl-rel-6_2 | paste -sd '|')" >> $GITHUB_OUTPUT
101
137
echo FILTER_6_3="$(grep -v '^#\|^\W*$' devops/compat_ci_exclude.sycl-rel-6_3 | paste -sd '|')" >> $GITHUB_OUTPUT
102
138
103
- run_prebuilt_e2e_tests :
139
+ E2E :
104
140
needs : [build, detect_changes, compat_read_exclude]
105
141
if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
106
142
strategy :
107
143
fail-fast : false
108
144
matrix :
109
145
include :
110
- - name : GEN 12 Integrated
146
+ - name : Intel / GEN 12 Integrated
111
147
runner : ' ["Linux", "gen12"]'
112
148
target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
113
149
- name : NVIDIA/CUDA
@@ -119,39 +155,39 @@ jobs:
119
155
image_options : -u 1001 --device=/dev/dri --device=/dev/kfd
120
156
target_devices : hip:gpu
121
157
extra_lit_opts : -j 1
122
- - name : Intel Arc A-Series Graphics
158
+ - name : Intel / Arc A-Series Graphics
123
159
runner : ' ["Linux", "arc"]'
124
160
target_devices : level_zero:gpu;opencl:gpu;level_zero_v2:gpu
125
- - name : Dev IGC / Intel Arc A-Series Graphics
161
+ - name : Intel Dev IGC / Arc A-Series Graphics
126
162
runner : ' ["Linux", "arc"]'
127
163
image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
128
164
target_devices : level_zero:gpu
129
165
use_igc_dev : true
130
166
env : ' {"LIT_FILTER":"Matrix/"}'
131
- - name : Intel Ponte Vecchio GPU
167
+ - name : Intel / Ponte Vecchio GPU
132
168
runner : ' ["Linux", "pvc"]'
133
169
target_devices : level_zero:gpu;opencl:gpu;level_zero_v2:gpu
134
- - name : Dev IGC / Intel Ponte Vecchio GPU
170
+ - name : Intel Dev IGC / Ponte Vecchio GPU
135
171
runner : ' ["Linux", "pvc"]'
136
172
image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
137
173
target_devices : level_zero:gpu
138
174
use_igc_dev : true
139
175
env : ' {"LIT_FILTER":"Matrix/"}'
140
- - name : Intel Battlemage Graphics
176
+ - name : Intel / Battlemage Graphics
141
177
runner : ' ["Linux", "bmg"]'
142
178
target_devices : level_zero_v1:gpu;level_zero_v2:gpu
143
179
- name : Preview Mode
144
180
runner : ' ["Linux", "gen12"]'
145
181
target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
146
182
extra_lit_opts : --param test-preview-mode=True
147
183
e2e_binaries_artifact : e2e_bin_preview
148
- - name : ABI compatibility against sycl-rel-6_2
184
+ - name : ABI compatibility / sycl-rel-6_2
149
185
runner : ' ["Linux", "pvc"]'
150
186
image : ghcr.io/intel/llvm/sycl_prebuilt_tests:sycl-rel-6_2
151
187
target_devices : level_zero:gpu
152
188
extra_lit_opts : ' --param test-preview-mode=False --filter-out "${{ needs.compat_read_exclude.outputs.FILTER_6_2 }}"'
153
189
e2e_binaries_artifact : ' in-container'
154
- - name : ABI compatibility against sycl-rel-6_3
190
+ - name : ABI compatibility / sycl-rel-6_3
155
191
runner : ' ["Linux", "pvc"]'
156
192
image : ghcr.io/intel/llvm/sycl_prebuilt_tests:sycl-rel-6_3
157
193
target_devices : level_zero:gpu
0 commit comments