File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed
devops/actions/run-tests/benchmark Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 140140 type : string
141141 default : ' false'
142142 required : False
143+ enable_unitrace :
144+ description : |
145+ Enable --unitrace
146+ type : string
147+ default : ' false'
148+ required : False
143149
144150 workflow_dispatch :
145151 inputs :
@@ -359,6 +365,7 @@ jobs:
359365 preset : ${{ inputs.benchmark_preset }}
360366 dry_run : ${{ inputs.benchmark_dry_run }}
361367 build_ref : ${{ inputs.repo_ref }}
368+ enable_unitrace : ${{ inputs.enable_unitrace }}
362369 env :
363370 RUNNER_TAG : ${{ inputs.runner }}
364371 GITHUB_TOKEN : ${{ secrets.LLVM_SYCL_BENCHMARK_TOKEN }}
Original file line number Diff line number Diff line change 4747 backend :
4848 type : string
4949 required : true
50+ enable_unitrace :
51+ type : string # true/false: workflow_dispatch does not support booleans
52+ description : |
53+ Enable --unitrace
54+ required : false
55+ default : ' false'
5056
5157 workflow_dispatch :
5258 inputs :
102108 - ' level_zero:gpu'
103109 - ' level_zero_v2:gpu'
104110 # As of #17407, sycl-linux-build now builds v2 by default
111+ enable_unitrace :
112+ description : Enable unitrace
113+ type : choice
114+ options :
115+ - false
116+ - true
117+ default : false
105118
106119permissions : read-all
107120
@@ -196,3 +209,4 @@ jobs:
196209 toolchain_artifact : ${{ needs.build_sycl.outputs.toolchain_artifact }}
197210 toolchain_artifact_filename : ${{ needs.build_sycl.outputs.toolchain_artifact_filename }}
198211 toolchain_decompress_command : ${{ needs.build_sycl.outputs.toolchain_decompress_command }}
212+ enable_unitrace : ${{ inputs.enable_unitrace }}
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ inputs:
3232 dry_run :
3333 type : string
3434 required : False
35+ enable_unitrace :
36+ type : string # true/false: workflow_dispatch does not support booleans
37+ required : False
38+ default : " false"
3539
3640runs :
3741 using : " composite"
@@ -203,7 +207,8 @@ runs:
203207 --output-dir "./llvm-ci-perf-results/" \
204208 --preset "$PRESET" \
205209 --timestamp-override "$SAVE_TIMESTAMP" \
206- --detect-version sycl,compute_runtime
210+ --detect-version sycl,compute_runtime \
211+ ${{ inputs.enable_unitrace == 'true' && '--unitrace' || '' }}
207212
208213 echo "-----"
209214 python3 ./devops/scripts/benchmarks/compare.py to_hist \
You can’t perform that action at this time.
0 commit comments