Skip to content

Commit 89e26de

Browse files
committed
Use new runner with Arc
1 parent 85fdb9c commit 89e26de

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

.github/workflows/nightly.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ jobs:
356356
os: "['ubuntu-22.04', 'ubuntu-24.04', 'ubuntu-24.10']"
357357

358358
Benchmarks:
359+
if: false
359360
uses: ./.github/workflows/reusable_benchmarks.yml
360361
permissions:
361362
contents: write
@@ -364,6 +365,21 @@ jobs:
364365
pr_no: '0'
365366
bench_script_params: '--save Baseline_PVC'
366367

368+
Benchmarks-sycl:
369+
uses: ./.github/workflows/reusable_benchmarks.yml
370+
permissions:
371+
contents: write
372+
pull-requests: write
373+
with:
374+
pr_no: '0'
375+
bench_script_params: >-
376+
--adapter level_zero_v2
377+
--compute-runtime
378+
--build-igc
379+
--preset Minimal
380+
--exit-on-failure
381+
runner: 'L0_PERF_GPU'
382+
367383
SYCL:
368384
if: false
369385
uses: ./.github/workflows/reusable_sycl.yml

.github/workflows/reusable_benchmarks.yml

Lines changed: 6 additions & 8 deletions
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
@@ -163,6 +163,8 @@ jobs:
163163
tar -xzf sycl_linux.tar.gz -C sycl --strip-components=1
164164
rm sycl_linux.tar.gz
165165
echo "SYCL_DIR=${{ github.workspace }}/sycl" >> $GITHUB_ENV
166+
echo "${{ github.workspace }}/sycl/bin" >> $GITHUB_PATH
167+
echo "LD_LIBRARY_PATH=${{ github.workspace }}/sycl/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
166168
167169
- name: Remove UMF libraries from sycl
168170
if: false
@@ -179,19 +181,15 @@ jobs:
179181
id: benchmarks
180182
env:
181183
LD_LIBRARY_PATH: ${{ env.SYCL_DIR }}/lib
184+
CPATH: ${{ env.SYCL_DIR }}/include
182185
run: >
183186
source .venv/bin/activate &&
184187
taskset -c ${{ env.CORES }} ./sc/devops/scripts/benchmarks/main.py
185188
~/bench_workdir_umf
186189
--umf ${{ env.BUILD_DIR }}
187190
--timeout 3000
188-
--output-html remote
189191
--results-dir ${{ github.workspace }}/results-repo
190-
--output-markdown
191-
--sycl ${{ env.SYCL_DIR }}
192-
--adapter level_zero_v2
193-
--exit-on-failure
194-
--filter SYCL-Bench
192+
${{ (inputs.runner == 'L0_PERF_GPU') && format('--sycl {0} --ur {0}', env.SYCL_DIR) || '' }}
195193
${{ env.bench_params }}
196194
197195
# In case it failed to add a comment, we can still print the results.

0 commit comments

Comments
 (0)