@@ -79,18 +79,35 @@ jobs:
7979
8080 toolchain_artifact : sycl_linux_ubuntu22
8181
82+ compat_read_exclude :
83+ name : Read compatibility testing exclude list
84+ runs-on : [Linux, build]
85+ outputs :
86+ FILTER : ${{ steps.result.outputs.FILTER }}
87+ steps :
88+ - uses : actions/checkout@v4
89+ with :
90+ sparse-checkout : |
91+ devops/
92+ - name : Register cleanup after job is finished
93+ uses : ./devops/actions/cleanup
94+ - id : result
95+ shell : bash
96+ run : |
97+ # Transform to format expected by `llvm-lit --filter-out "pattern1|pattern2|..."`.
98+ # First, remove comments/empty lines, then join lines with "|" as separator.
99+ echo FILTER="$(grep -v '^#\|^\W*$' devops/compat_ci_exclude.sycl-rel-6_2 | paste -sd '|')" >> $GITHUB_OUTPUT
100+
82101 run_prebuilt_e2e_tests :
83- needs : [build, detect_changes]
102+ needs : [build, detect_changes, compat_read_exclude ]
84103 if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
85104 strategy :
86105 fail-fast : false
87106 matrix :
88107 include :
89108 - name : GEN 12 Integrated
90109 runner : ' ["Linux", "gen12"]'
91- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
92110 target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
93- extra_lit_opts : --param gpu-intel-gen12=True
94111 - name : NVIDIA/CUDA
95112 runner : ' ["Linux", "cuda"]'
96113 image_options : -u 1001 --gpus all --cap-add SYS_ADMIN
@@ -102,45 +119,43 @@ jobs:
102119 extra_lit_opts : -j 1
103120 - name : Intel Arc A-Series Graphics
104121 runner : ' ["Linux", "arc"]'
105- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
106122 target_devices : level_zero:gpu;opencl:gpu;level_zero_v2:gpu
107- extra_lit_opts : --param matrix-xmx8=True
108- - name : E2E tests with dev igc on Intel Arc A-Series Graphics
123+ - name : Dev IGC / Intel Arc A-Series Graphics
109124 runner : ' ["Linux", "arc"]'
110125 image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
111- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
112126 target_devices : level_zero:gpu
113- extra_lit_opts : --param matrix-xmx8=True
114127 use_igc_dev : true
115128 env : ' {"LIT_FILTER":"Matrix/"}'
116- - name : E2E tests on Intel Ponte Vecchio GPU
129+ - name : Intel Ponte Vecchio GPU
117130 runner : ' ["Linux", "pvc"]'
118- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
119131 target_devices : level_zero:gpu;opencl:gpu;level_zero_v2:gpu
120- - name : Dev IGC on Intel Ponte Vecchio GPU
132+ - name : Dev IGC / Intel Ponte Vecchio GPU
121133 runner : ' ["Linux", "pvc"]'
122134 image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
123- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
124135 target_devices : level_zero:gpu
125136 use_igc_dev : true
126137 env : ' {"LIT_FILTER":"Matrix/"}'
127138 - name : Intel Battlemage Graphics
128139 runner : ' ["Linux", "bmg"]'
129- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
130140 target_devices : level_zero_v1:gpu;level_zero_v2:gpu
131141 - name : Preview Mode
132142 runner : ' ["Linux", "gen12"]'
133- image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
134143 target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
135144 extra_lit_opts : --param test-preview-mode=True
136145 e2e_binaries_artifact : e2e_bin_preview
146+ - name : ABI compatibility against sycl-rel-6_2
147+ runner : ' ["Linux", "pvc"]'
148+ image : ghcr.io/intel/llvm/sycl_prebuilt_tests:sycl-rel-6_2
149+ target_devices : level_zero:gpu
150+ extra_lit_opts : ' --param test-preview-mode=False --filter-out "${{ needs.compat_read_exclude.outputs.FILTER }}"'
151+ e2e_binaries_artifact : ' in-container'
137152
138153 uses : ./.github/workflows/sycl-linux-run-tests.yml
139154 with :
140155 name : ${{ matrix.name }}
141156 runner : ${{ matrix.runner }}
142157 image : ${{ matrix.image }}
143- image_options : ${{ matrix.image_options }}
158+ image_options : ${{ matrix.image_options || '-u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN' }}
144159 target_devices : ${{ matrix.target_devices }}
145160 extra_lit_opts : ${{ matrix.extra_lit_opts }}
146161 repo_ref : ${{ github.sha }}
0 commit comments