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 @@ -182,8 +182,8 @@ jobs:
182
182
183
183
- name : Compute core range
184
184
run : |
185
- # Compute the core range for the first NUMA node, skipping the first 4 cores .
186
- # This is to avoid the first cores that the kernel is likely to schedule more work on.
185
+ # Compute the core range for the first NUMA node; second node is for UMF jobs .
186
+ # Skip the first 4 cores - the kernel is likely to schedule more work on these .
187
187
CORES=$(lscpu | awk '
188
188
/NUMA node0 CPU|On-line CPU/ {line=$0}
189
189
END {
@@ -192,8 +192,12 @@ jobs:
192
192
sub(/^0/, "4", b[1])
193
193
print b[1]
194
194
}')
195
+ echo "Selected core: $CORES"
195
196
echo "CORES=$CORES" >> $GITHUB_ENV
196
197
198
+ ZE_AFFINITY_MASK=0
199
+ echo "ZE_AFFINITY_MASK=$ZE_AFFINITY_MASK" >> $GITHUB_ENV
200
+
197
201
- name : Run benchmarks
198
202
working-directory : ${{ github.workspace }}/ur-repo/
199
203
id : benchmarks
@@ -209,6 +213,10 @@ jobs:
209
213
${{ inputs.upload_report && '--output-html' || '' }}
210
214
${{ inputs.bench_script_params }}
211
215
216
+ - name : Print benchmark results
217
+ run : |
218
+ cat ${{ github.workspace }}/ur-repo/benchmark_results.md
219
+
212
220
- name : Add comment to PR
213
221
uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
214
222
if : ${{ always() && inputs.pr_no != 0 }}
You can’t perform that action at this time.
0 commit comments