Skip to content

Commit 92c3f1e

Browse files
committed
[TEST] Test new runner
1 parent 41a107a commit 92c3f1e

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.github/workflows/sycl-ur-perf-benchmarking.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Run Benchmarks
22

33
on:
4+
pull_request:
5+
types: [synchronize]
46
workflow_call:
57
inputs:
68
preset:
@@ -35,18 +37,21 @@ on:
3537
results, this will be the name used to refer results from the current
3638
run.
3739
required: false
38-
default: ''
40+
default: 'test_runner_46'
3941
upload_results:
4042
type: string # true/false: workflow_dispatch does not support booleans
4143
description: |
4244
Upload results to https://intel.github.io/llvm/benchmarks/.
43-
required: true
45+
required: false
46+
default: 'true'
4447
runner:
4548
type: string
46-
required: true
49+
required: false
50+
default: '["test-runner"]'
4751
backend:
4852
type: string
49-
required: true
53+
required: false
54+
default: 'level_zero_v2:gpu'
5055

5156
workflow_dispatch:
5257
inputs:
@@ -93,14 +98,17 @@ on:
9398
runner:
9499
type: choice
95100
options:
101+
- '["test-runner"]'
96102
- '["PVC_PERF"]'
97103
- '["BMG_PERF"]'
104+
default: '["test-runner"]'
98105
backend:
99106
description: Backend to use
100107
type: choice
101108
options:
102-
- 'level_zero:gpu'
103109
- 'level_zero_v2:gpu'
110+
- 'level_zero:gpu'
111+
default: 'level_zero_v2:gpu'
104112
# As of #17407, sycl-linux-build now builds v2 by default
105113

106114
permissions: read-all
@@ -110,7 +118,7 @@ jobs:
110118
name: Sanitize inputs
111119
runs-on: ubuntu-latest
112120
env:
113-
COMMIT_HASH: ${{ inputs.commit_hash }}
121+
COMMIT_HASH: ${{ inputs.commit_hash || }}
114122
PR_NO: ${{ inputs.pr_no }}
115123
SAVE_NAME: ${{ inputs.save_name }}
116124
outputs:

devops/actions/run-tests/benchmark/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ runs:
172172
esac
173173
case "$RUNNER_TAG" in
174174
'["PVC_PERF"]') MACHINE_TYPE="PVC" ;;
175-
'["BMG_PERF"]') MACHINE_TYPE="BMG" ;;
175+
'["test-runner2"]') MACHINE_TYPE="BMG" ;;
176176
# Best effort at matching
177177
*)
178178
MACHINE_TYPE="${RUNNER_TAG#[\"}"

devops/scripts/benchmarks/utils/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def runner_name(runner_name: str, throw: Exception = None):
2727
"""
2828
Returns True if runner_name is clean (no illegal characters).
2929
"""
30-
return Validate.on_re(runner_name, r"^[a-zA-Z0-9_]+$", throw=throw)
30+
return Validate.on_re(runner_name, r"^[a-zA-Z0-9_-]+$", throw=throw)
3131

3232
@staticmethod
3333
def timestamp(t: str, throw: Exception = None):

0 commit comments

Comments
 (0)