@@ -150,17 +150,47 @@ jobs:
150
150
ZE_AFFINITY_MASK=1
151
151
echo "ZE_AFFINITY_MASK=$ZE_AFFINITY_MASK" >> $GITHUB_ENV
152
152
153
- - name : Run UMF benchmarks
153
+ - name : Download latest sycl
154
+ run : |
155
+ llvm_tag=$(curl -s https://api.github.com/repos/intel/llvm/releases | awk -F'"' '/"tag_name": "nightly/ {print $4; exit}')
156
+ download_url="https://github.com/intel/llvm/releases/download/${llvm_tag}/sycl_linux.tar.gz"
157
+ echo "llvm tag: $llvm_tag"
158
+ wget --no-verbose $download_url -O sycl_linux.tar.gz
159
+
160
+ - name : Unpack sycl
161
+ run : |
162
+ mkdir -p sycl
163
+ tar -xzf sycl_linux.tar.gz -C sycl --strip-components=1
164
+ rm sycl_linux.tar.gz
165
+ echo "SYCL_DIR=${{ github.workspace }}/sycl" >> $GITHUB_ENV
166
+
167
+ - name : Remove UMF libraries from sycl
168
+ run : rm -f ${{ env.SYCL_DIR }}/lib/libumf*
169
+
170
+ - name : Run sycl-ls
171
+ env :
172
+ LD_LIBRARY_PATH : ${{ env.SYCL_DIR }}/lib
173
+ SYCL_UR_TRACE : 1
174
+ SYCL_UR_USE_LEVEL_ZERO_V2 : 1
175
+ run : ${{ env.SYCL_DIR }}/bin/sycl-ls
176
+
177
+ - name : Run benchmarks
154
178
id : benchmarks
179
+ env :
180
+ LD_LIBRARY_PATH : ${{ env.SYCL_DIR }}/lib
155
181
run : >
156
182
source .venv/bin/activate &&
157
183
taskset -c ${{ env.CORES }} ./sc/devops/scripts/benchmarks/main.py
158
184
~/bench_workdir_umf
159
- --umf ${{env.BUILD_DIR}}
185
+ --umf ${{ env.BUILD_DIR }}
160
186
--timeout 3000
161
187
--output-html remote
162
188
--results-dir ${{ github.workspace }}/results-repo
163
189
--output-markdown
190
+ --sycl ${{ env.SYCL_DIR }}
191
+ --adapter level_zero_v2
192
+ --exit-on-failure
193
+ --filter SYCL-Bench
164
194
${{ env.bench_params }}
165
195
166
196
# In case it failed to add a comment, we can still print the results.
0 commit comments