@@ -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