File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
devops/actions/run-tests/benchmark Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,33 @@ 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+ git clone https://github.com/intel/level-zero.git
154+ cd level-zero
155+ git checkout v1.25.1
156+
157+ # Configure Level Zero
158+ cmake -DCMAKE_BUILD_TYPE=Release \
159+ -Bbuild \
160+ -DCMAKE_INSTALL_PREFIX=install
161+
162+ # Build and install Level Zero
163+ cmake --build build -j "$(nproc)"
164+ cmake --install build
165+
139166 cd -
140167 - name : Checkout results repo
141168 shell : bash
You can’t perform that action at this time.
0 commit comments