Skip to content

Commit 7b463bd

Browse files
authored
[Benchmarks] Fix failing compute benchmarks build (#20500)
Bump Compute Benchmarks commit to latest: - fix build failures of Compute Benchmarks caused by changed definition of urProgramBuildExp() - add queue synchronization to SubmitKernel warmup - fix submit_graph_l0 standard, non-emulated path
1 parent e1962d2 commit 7b463bd

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,27 @@ runs:
139139
cmake --build build -j "$(nproc)"
140140
cmake --install build
141141
142+
cd -
143+
# Install level zero v1.25.2
144+
# This is to have the latest level zero required by Compute Benchmarks
145+
# Remove this w/a once the sycl nightly images are updated to have level zero v1.25.2
146+
- name: Install level zero v1.25.2
147+
shell: bash
148+
run: |
149+
# Install level zero v1.25.2
150+
# Checkout Level Zero at build ref:
151+
wget https://github.com/oneapi-src/level-zero/archive/refs/tags/v1.25.2.tar.gz -O level-zero-v1.25.2.tar.gz
152+
tar -xvf level-zero-v1.25.2.tar.gz
153+
cd level-zero-1.25.2
154+
155+
# Configure Level Zero
156+
cmake -DCMAKE_BUILD_TYPE=Release \
157+
-Bbuild
158+
159+
# Build and install Level Zero
160+
cmake --build build -j "$(nproc)"
161+
sudo cmake --install build
162+
142163
cd -
143164
- name: Checkout results repo
144165
shell: bash

devops/scripts/benchmarks/benches/compute.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def git_url(self) -> str:
6262
return "https://github.com/intel/compute-benchmarks.git"
6363

6464
def git_hash(self) -> str:
65-
# Oct 9, 2025
66-
return "32805b4b6f8dafb4a97f21c4c85bb2f6963f8dbb"
65+
# Oct 31, 2025
66+
return "1d4f68f82a5fe8c404aa1126615da4a1b789e254"
6767

6868
def setup(self) -> None:
6969
if options.sycl is None:
@@ -86,6 +86,7 @@ def setup(self) -> None:
8686
f"-DBUILD_SYCL=ON",
8787
f"-DSYCL_COMPILER_ROOT={options.sycl}",
8888
f"-DALLOW_WARNINGS=ON",
89+
f"-DUSE_SYSTEM_LEVEL_ZERO=OFF",
8990
f"-DCMAKE_CXX_COMPILER=clang++",
9091
f"-DCMAKE_C_COMPILER=clang",
9192
]

0 commit comments

Comments
 (0)