File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -191,8 +191,8 @@ jobs:
191
191
192
192
- name : Compute core range
193
193
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 .
196
196
CORES=$(lscpu | awk '
197
197
/NUMA node0 CPU|On-line CPU/ {line=$0}
198
198
END {
@@ -201,8 +201,12 @@ jobs:
201
201
sub(/^0/, "4", b[1])
202
202
print b[1]
203
203
}')
204
+ echo "Selected core: $CORES"
204
205
echo "CORES=$CORES" >> $GITHUB_ENV
205
206
207
+ ZE_AFFINITY_MASK=0
208
+ echo "ZE_AFFINITY_MASK=$ZE_AFFINITY_MASK" >> $GITHUB_ENV
209
+
206
210
- name : Run benchmarks
207
211
working-directory : ${{ github.workspace }}/ur-repo/
208
212
id : benchmarks
@@ -218,6 +222,10 @@ jobs:
218
222
${{ inputs.upload_report && '--output-html' || '' }}
219
223
${{ inputs.bench_script_params }}
220
224
225
+ - name : Print benchmark results
226
+ run : |
227
+ cat ${{ github.workspace }}/ur-repo/benchmark_results.md
228
+
221
229
- name : Add comment to PR
222
230
uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
223
231
if : ${{ always() && inputs.pr_no != 0 }}
You can’t perform that action at this time.
0 commit comments