Skip to content

Commit 367486d

Browse files
committed
test
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent d4191ed commit 367486d

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

.github/workflows/sycl-linux-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ on:
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: |

.github/workflows/sycl-post-commit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
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 || '{}' }}

.github/workflows/sycl-windows-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)