File tree Expand file tree Collapse file tree 1 file changed +20
-12
lines changed
Expand file tree Collapse file tree 1 file changed +20
-12
lines changed Original file line number Diff line number Diff line change 5656 description : Save and upload results (to https://intel.github.io/llvm/benchmarks)
5757 type : choice
5858 options :
59- - false
60- - true
61- default : true
62- exit_on_failure :
63- description : Fail benchmark script on any error. Limit number of iterations to just test correctness.
64- type : choice
65- options :
66- - false
67- - true
68- default : false
59+ - ' false'
60+ - ' true'
61+ default : ' true'
6962 runner :
7063 description : Self-hosted runner to use for the benchmarks
7164 type : choice
7871 options :
7972 - ' level_zero:gpu'
8073 - ' level_zero_v2:gpu'
74+ exit_on_failure :
75+ description : Fail benchmark script on any error. If true, limit number of iterations to just test correctness.
76+ type : choice
77+ options :
78+ - ' false'
79+ - ' true'
80+ default : ' false'
81+ # Special input to trigger nightly benchmarking; rest of inputs are ignored in that case.
82+ trigger_nightly :
83+ description : Trigger nightly benchmarking (run and save Baseline)
84+ type : choice
85+ options :
86+ - ' false'
87+ - ' true'
88+ default : ' false'
8189
8290concurrency :
8391 # Cancel a currently running workflow for:
96104 # Manual trigger (dispatch) path:
97105 sanitize_inputs_dispatch :
98106 name : ' [Dispatch] Sanitize inputs'
99- if : github.event_name == 'workflow_dispatch'
107+ if : ${{ github.event_name == 'workflow_dispatch' && inputs.trigger_nightly == 'false' }}
100108 runs-on : ubuntu-latest
101109 env :
102110 COMMIT_HASH : ${{ inputs.commit_hash }}
@@ -194,7 +202,7 @@ jobs:
194202 # Nightly benchmarking path:
195203 build_nightly :
196204 name : ' [Nightly] Build SYCL'
197- if : github.repository == 'intel/llvm' && github.event_name == 'schedule'
205+ if : ${{ github.repository == 'intel/llvm' && ( github.event_name == 'schedule' || inputs.trigger_nightly == 'true') }}
198206 uses : ./.github/workflows/sycl-linux-build.yml
199207 secrets : inherit
200208 with :
You can’t perform that action at this time.
0 commit comments