File tree Expand file tree Collapse file tree 3 files changed +20
-7
lines changed
devops/actions/run-tests/benchmark Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -284,13 +284,14 @@ jobs:
284
284
needs : [ubuntu2204_build]
285
285
if : ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
286
286
strategy :
287
+ fail-fast : false
287
288
matrix :
289
+ runner : ['["PVC_PERF"]', '["BMG_PERF"]']
290
+ backend : ['level_zero:gpu']
288
291
include :
289
292
- ref : ${{ github.sha }}
290
- save_name : Baseline
291
- runner : ' ["PVC_PERF"]'
292
- backend : ' level_zero:gpu'
293
- preset : Minimal
293
+ save_name : ' Baseline'
294
+ preset : ' Minimal'
294
295
uses : ./.github/workflows/sycl-linux-run-tests.yml
295
296
secrets : inherit
296
297
with :
Original file line number Diff line number Diff line change 78
78
type : choice
79
79
options :
80
80
- ' ["PVC_PERF"]'
81
+ - ' ["BMG_PERF"]'
81
82
backend :
82
83
description : Backend to use
83
84
type : choice
Original file line number Diff line number Diff line change 37
37
run : |
38
38
case "$RUNNER_TAG" in
39
39
'["PVC_PERF"]' ) ;;
40
+ '["BMG_PERF"]' ) ;;
40
41
*)
41
42
echo "#"
42
43
echo "# WARNING: Only specific tuned runners are fully supported."
54
55
# input.target_devices is not directly used, as this allows code injection
55
56
case "$TARGET_DEVICE" in
56
57
level_zero:*) ;;
58
+ level_zero_v2:*) ;;
57
59
*)
58
60
echo "#"
59
61
echo "# WARNING: Only level_zero backend is fully supported."
@@ -135,8 +137,17 @@ runs:
135
137
opencl:*) SAVE_SUFFIX="OCL" ;;
136
138
*) SAVE_SUFFIX="${ONEAPI_DEVICE_SELECTOR%%:*}";;
137
139
esac
138
- # TODO accomodate for different GPUs and backends
139
- SAVE_NAME="${SAVE_PREFIX}_PVC_${SAVE_SUFFIX}"
140
+ case "$RUNNER_TAG" in
141
+ '["PVC_PERF"]') MACHINE_TYPE="PVC" ;;
142
+ '["BMG_PERF"]') MACHINE_TYPE="BMG" ;;
143
+ # Best effort at matching
144
+ *)
145
+ MACHINE_TYPE="${RUNNER_TAG#[\"}"
146
+ MACHINE_TYPE="${MACHINE_TYPE%_PERF=\"]}"
147
+ ;;
148
+ esac
149
+ SAVE_NAME="${SAVE_PREFIX}_${MACHINE_TYPE}_${SAVE_SUFFIX}"
150
+ echo "SAVE_NAME=$SAVE_NAME" >> $GITHUB_ENV
140
151
SAVE_TIMESTAMP="$(date -u +'%Y%m%d_%H%M%S')" # Timestamps are in UTC time
141
152
142
153
sycl-ls
@@ -221,5 +232,5 @@ runs:
221
232
if : always()
222
233
uses : actions/upload-artifact@v4
223
234
with :
224
- name : Benchmark run ${{ github.run_id }} (${{ runner.name }})
235
+ name : Benchmark run ${{ github.run_id }} (${{ env.SAVE_NAME }})
225
236
path : ./cached_changes
You can’t perform that action at this time.
0 commit comments