File tree Expand file tree Collapse file tree 4 files changed +22
-2
lines changed
Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ jobs:
215215 # TODO consider moving this to Dockerfile.
216216 export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
217217 if [[ ${{inputs.cc}} == 'icx' ]] || [[ ${inputs.cxx}} == 'icpx' ]]; then
218- export LIT_FILTER_OUT=" host_tanpi_double_accuracy"
218+ export LIT_XFAIL="abi/layout_vec.cpp;regression/ host_tanpi_double_accuracy.cpp;self-contained-headers/sycl/ext/intel/fpga_lsu.hpp "
219219 fi
220220 cmake --build $GITHUB_WORKSPACE/build --target check-sycl
221221 - name : check-sycl-unittests
Original file line number Diff line number Diff line change 6262 reset_intel_gpu :
6363 type : string
6464 required : False
65+ is_icx :
66+ type : string
67+ default : ' false'
6568 install_igc_driver :
6669 type : string
6770 required : False
@@ -189,6 +192,7 @@ jobs:
189192 if : inputs.tests_selector == 'cts'
190193 run : |
191194 git -C khronos_sycl_cts submodule update --init
195+
192196 - name : Install drivers
193197 if : inputs.install_igc_driver == 'true' || inputs.install_dev_igc_driver == 'true'
194198 env :
@@ -199,6 +203,21 @@ jobs:
199203 sudo apt-get install -yqq libllvm14 || true;
200204 fi
201205 sudo -E bash devops/scripts/install_drivers.sh llvm/devops/dependencies.json ${{ inputs.install_dev_igc_driver == 'true' && 'llvm/devops/dependencies-igc-dev.json --use-dev-igc' || '' }} --all
206+ - name : Setup oneAPI env
207+ if : ${{ inputs.is_icx == 'true' }}
208+ run : |
209+ env_before=$(env | sort)
210+
211+ source /opt/intel/oneapi/setvars.sh
212+
213+ env_after=$(env | sort)
214+
215+ changed_envvars=$(comm -13 <(echo "$env_before") <(echo "$env_after"))
216+
217+ while IFS= read -r line; do
218+ echo "$line" >> $GITHUB_ENV
219+ done <<< "$changed_envvars"
220+
202221 - name : Source OneAPI TBB vars.sh
203222 shell : bash
204223 run : |
Original file line number Diff line number Diff line change 8989 image_options : ${{ matrix.image_options || '-u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN' }}
9090 target_devices : ${{ matrix.target_devices || 'level_zero:gpu' }}
9191 reset_intel_gpu : ${{ matrix.reset_intel_gpu }}
92+ is_icx : true
9293
9394 extra_lit_opts : ${{ matrix.extra_lit_opts }}
9495 env : ${{ matrix.env || '{}' }}
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ jobs:
142142 shell : bash
143143 run : |
144144 if [[ ${{inputs.compiler}} == 'icx' ]]; then
145- export LIT_FILTER_OUT=" host_tanpi_double_accuracy"
145+ export LIT_XFAIL="regression/ host_tanpi_double_accuracy.cpp "
146146 fi
147147 cmake --build build --target check-sycl
148148 - name : check-sycl-unittests
You can’t perform that action at this time.
0 commit comments