File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -191,8 +191,8 @@ jobs:
191191
192192 - name : Compute core range
193193 run : |
194- # Compute the core range for the first NUMA node, skipping the first 4 cores .
195- # This is to avoid the first cores that the kernel is likely to schedule more work on.
194+ # Compute the core range for the first NUMA node; second node is for UMF jobs .
195+ # Skip the first 4 cores - the kernel is likely to schedule more work on these .
196196 CORES=$(lscpu | awk '
197197 /NUMA node0 CPU|On-line CPU/ {line=$0}
198198 END {
@@ -201,8 +201,12 @@ jobs:
201201 sub(/^0/, "4", b[1])
202202 print b[1]
203203 }')
204+ echo "Selected core: $CORES"
204205 echo "CORES=$CORES" >> $GITHUB_ENV
205206
207+ ZE_AFFINITY_MASK=0
208+ echo "ZE_AFFINITY_MASK=$ZE_AFFINITY_MASK" >> $GITHUB_ENV
209+
206210 - name : Run benchmarks
207211 working-directory : ${{ github.workspace }}/ur-repo/
208212 id : benchmarks
@@ -218,6 +222,10 @@ jobs:
218222 ${{ inputs.upload_report && '--output-html' || '' }}
219223 ${{ inputs.bench_script_params }}
220224
225+ - name : Print benchmark results
226+ run : |
227+ cat ${{ github.workspace }}/ur-repo/benchmark_results.md
228+
221229 - name : Add comment to PR
222230 uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
223231 if : ${{ always() && inputs.pr_no != 0 }}
You can’t perform that action at this time.
0 commit comments