Skip to content

Commit 7d53ae0

Browse files
Add options to test on L0v2
1 parent 1aa9202 commit 7d53ae0

File tree

2 files changed

+42
-33
lines changed

2 files changed

+42
-33
lines changed

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

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -69,39 +69,39 @@ jobs:
6969

7070
# Build and run native cpu e2e tests separately as cannot currently
7171
# build all the e2e tests
72-
build_run_native_cpu_e2e_tests:
73-
if: ${{ !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
74-
runs-on: [Linux, build]
75-
needs: [build]
76-
container:
77-
image: ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest
78-
options: -u 1001:1001
79-
steps:
80-
- uses: actions/checkout@v5
81-
with:
82-
sparse-checkout: |
83-
devops/
72+
# build_run_native_cpu_e2e_tests:
73+
# if: ${{ !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
74+
# runs-on: [Linux, build]
75+
# needs: [build]
76+
# container:
77+
# image: ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest
78+
# options: -u 1001:1001
79+
# steps:
80+
# - uses: actions/checkout@v5
81+
# with:
82+
# sparse-checkout: |
83+
# devops/
8484

85-
# download build artefact
86-
- name: Download toolchain
87-
uses: actions/download-artifact@v6
88-
with:
89-
name: sycl_linux_default
90-
- name: Extract SYCL toolchain
91-
shell: bash
92-
run: |
93-
mkdir toolchain
94-
tar -xf llvm_sycl.tar.zst -C toolchain
95-
rm llvm_sycl.tar.zst
96-
- name: Build and run E2E tests
97-
uses: ./devops/actions/run-tests/e2e
98-
with:
99-
ref: ${{ inputs.ref || github.sha }}
100-
testing_mode: full
101-
target_devices: native_cpu:cpu
102-
sycl_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++
103-
extra_lit_opts: --param sycl_build_targets="native_cpu"
104-
extra_cmake_args: -DSYCL_TEST_E2E_TARGETS="native_cpu:cpu" -DSYCL_TEST_E2E_STANDALONE=ON
85+
# # download build artefact
86+
# - name: Download toolchain
87+
# uses: actions/download-artifact@v6
88+
# with:
89+
# name: sycl_linux_default
90+
# - name: Extract SYCL toolchain
91+
# shell: bash
92+
# run: |
93+
# mkdir toolchain
94+
# tar -xf llvm_sycl.tar.zst -C toolchain
95+
# rm llvm_sycl.tar.zst
96+
# - name: Build and run E2E tests
97+
# uses: ./devops/actions/run-tests/e2e
98+
# with:
99+
# ref: ${{ inputs.ref || github.sha }}
100+
# testing_mode: full
101+
# target_devices: native_cpu:cpu
102+
# sycl_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++
103+
# extra_lit_opts: --param sycl_build_targets="native_cpu"
104+
# extra_cmake_args: -DSYCL_TEST_E2E_TARGETS="native_cpu:cpu" -DSYCL_TEST_E2E_STANDALONE=ON
105105

106106
# If a PR changes CUDA adapter, run the build on Ubuntu 22.04 as well.
107107
# Ubuntu 22.04 container has CUDA 12.1 installed while Ubuntu 24.0 image
@@ -190,9 +190,10 @@ jobs:
190190
# extra_lit_opts: --param test-preview-mode=True
191191
# binaries_artifact: e2e_bin_preview
192192
- name: L0 v2
193-
runner: '["Linux", "bmg"]'
193+
runner: '["TEST_PERF"]'
194194
# runner: '["Linux", "L0v2"]'
195195
target_devices: level_zero_v2:arch-intel_gpu_mtl_u
196+
extra_lit_opts: -j 12
196197

197198
# We're in an ABI-breaking window, so these don't make sense for now.
198199
- name: ABI compatibility / sycl-rel-6_2

devops/actions/run-tests/e2e/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ runs:
6262
if [ -n "$CMAKE_EXTRA_ARGS" ]; then
6363
echo "opts=$CMAKE_EXTRA_ARGS" >> $GITHUB_OUTPUT
6464
fi
65+
- name: Check cpu
66+
shell: bash
67+
run: |
68+
lscpu
69+
lscpu | grep "Model name"
70+
6571
- name: Configure E2E tests
6672
if: inputs.testing_mode != 'run-only'
6773
shell: bash
@@ -73,7 +79,9 @@ runs:
7379
shell: bash
7480
env:
7581
LIT_OPTS: -v --no-progress-bar --show-unsupported --show-pass --show-xfail --max-time 3600 --time-tests --param print_features=True --param test-mode=${{ inputs.testing_mode }} --param sycl_devices=${{ inputs.target_devices }} ${{ inputs.extra_lit_opts }}
82+
# LIT_OPTS: -j 12 -v --param "sycl_devices=level_zero_v2:arch-intel_gpu_mtl_u" sycl/test-e2e/
7683
run: |
84+
echo "LIT_OPTS: $LIT_OPTS"
7785
ninja -C build-e2e check-sycl-e2e > e2e.log 2>&1
7886
# Two steps below are duplicated between Lin/Win actions, updates must change both
7987
- name: E2E logs

0 commit comments

Comments
 (0)