File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
devops/actions/run-tests/benchmark Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,32 @@ runs:
136136 cmake --build build -j "$(nproc)"
137137 cmake --install build
138138
139+ cd -
140+ # Remove level zero from image and install latest version
141+ # This is to have the latest level zero required by Compute Benchmarks
142+ # Remove this w/a once the sycl nightly images are updated to have level zero v1.25.1
143+ - name : Remove level zero from image
144+ shell : bash
145+ run : |
146+ # Remove level zero from image
147+ sudo apt-get remove -y libze-dev libze1
148+ - name : Install level zero v1.25.1
149+ shell : bash
150+ run : |
151+ # Install level zero v1.25.1
152+ # Checkout Level Zero at build ref:
153+ wget https://github.com/oneapi-src/level-zero/archive/refs/tags/v1.25.1.tar.gz -O level-zero-v1.25.1.tar.gz
154+ tar -xvf level-zero-v1.25.1.tar.gz
155+ cd level-zero-1.25.1
156+
157+ # Configure Level Zero
158+ cmake -DCMAKE_BUILD_TYPE=Release \
159+ -Bbuild
160+
161+ # Build and install Level Zero
162+ cmake --build build -j "$(nproc)"
163+ sudo cmake --install build
164+
139165 cd -
140166 - name : Checkout results repo
141167 shell : bash
You can’t perform that action at this time.
0 commit comments