Skip to content

Commit b307fc0

Browse files
committed
Use new runner with Arc
1 parent 7f5eb53 commit b307fc0

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

.github/workflows/nightly.yml

+14
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ jobs:
334334
os: "['ubuntu-22.04', 'ubuntu-24.04', 'ubuntu-24.10']"
335335

336336
Benchmarks:
337+
if: false
337338
uses: ./.github/workflows/reusable_benchmarks.yml
338339
permissions:
339340
contents: write
@@ -342,6 +343,19 @@ jobs:
342343
pr_no: '0'
343344
bench_script_params: '--save Baseline_PVC'
344345

346+
Benchmarks-sycl:
347+
uses: ./.github/workflows/reusable_benchmarks.yml
348+
permissions:
349+
contents: write
350+
pull-requests: write
351+
with:
352+
pr_no: '0'
353+
bench_script_params: '--sycl sycl
354+
--adapter level_zero
355+
--exit-on-failure
356+
--preset Minimal'
357+
runner: 'L0_PERF_GPU'
358+
345359
SYCL:
346360
if: false
347361
uses: ./.github/workflows/reusable_sycl.yml

.github/workflows/reusable_benchmarks.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
129129
- name: Install benchmarking scripts deps
130130
run: |
131-
python -m venv .venv
131+
python3 -m venv .venv
132132
source .venv/bin/activate
133133
pip install -r ${{github.workspace}}/sc/devops/scripts/benchmarks/requirements.txt
134134
@@ -147,7 +147,7 @@ jobs:
147147
echo "Selected core: $CORES"
148148
echo "CORES=$CORES" >> $GITHUB_ENV
149149
150-
ZE_AFFINITY_MASK=1
150+
ZE_AFFINITY_MASK=0
151151
echo "ZE_AFFINITY_MASK=$ZE_AFFINITY_MASK" >> $GITHUB_ENV
152152
153153
- name: Download latest sycl
@@ -172,13 +172,14 @@ jobs:
172172
env:
173173
LD_LIBRARY_PATH: ${{ env.SYCL_DIR }}/lib
174174
SYCL_UR_TRACE: 1
175-
SYCL_UR_USE_LEVEL_ZERO_V2: 1
175+
SYCL_UR_USE_LEVEL_ZERO_V2: 0
176176
run: ${{ env.SYCL_DIR }}/bin/sycl-ls
177177

178178
- name: Run benchmarks
179179
id: benchmarks
180180
env:
181181
LD_LIBRARY_PATH: ${{ env.SYCL_DIR }}/lib
182+
CPATH: ${{ env.SYCL_DIR }}/include
182183
run: >
183184
source .venv/bin/activate &&
184185
taskset -c ${{ env.CORES }} ./sc/devops/scripts/benchmarks/main.py
@@ -188,10 +189,6 @@ jobs:
188189
--output-html remote
189190
--results-dir ${{ github.workspace }}/results-repo
190191
--output-markdown
191-
--sycl ${{ env.SYCL_DIR }}
192-
--adapter level_zero_v2
193-
--exit-on-failure
194-
--filter SYCL-Bench
195192
${{ env.bench_params }}
196193
197194
# In case it failed to add a comment, we can still print the results.

0 commit comments

Comments
 (0)