Skip to content

Commit 8936091

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

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

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

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

33
on:
4+
pull_request:
45
workflow_call:
56
inputs:
67
preset:
@@ -35,18 +36,21 @@ on:
3536
results, this will be the name used to refer results from the current
3637
run.
3738
required: false
38-
default: ''
39+
default: 'test_runner_46'
3940
upload_results:
4041
type: string # true/false: workflow_dispatch does not support booleans
4142
description: |
4243
Upload results to https://intel.github.io/llvm/benchmarks/.
43-
required: true
44+
required: false
45+
default: 'true'
4446
runner:
4547
type: string
46-
required: true
48+
required: false
49+
default: '["test-runner"]'
4750
backend:
4851
type: string
49-
required: true
52+
required: false
53+
default: 'level_zero_v2:gpu'
5054

5155
workflow_dispatch:
5256
inputs:
@@ -93,14 +97,17 @@ on:
9397
runner:
9498
type: choice
9599
options:
100+
- '["test-runner"]'
96101
- '["PVC_PERF"]'
97102
- '["BMG_PERF"]'
103+
default: '["test-runner"]'
98104
backend:
99105
description: Backend to use
100106
type: choice
101107
options:
102-
- 'level_zero:gpu'
103108
- 'level_zero_v2:gpu'
109+
- 'level_zero:gpu'
110+
default: 'level_zero_v2:gpu'
104111
# As of #17407, sycl-linux-build now builds v2 by default
105112

106113
permissions: read-all
@@ -110,7 +117,7 @@ jobs:
110117
name: Sanitize inputs
111118
runs-on: ubuntu-latest
112119
env:
113-
COMMIT_HASH: ${{ inputs.commit_hash }}
120+
COMMIT_HASH: ${{ inputs.commit_hash || }}
114121
PR_NO: ${{ inputs.pr_no }}
115122
SAVE_NAME: ${{ inputs.save_name }}
116123
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)