We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f6b84 commit 4e7f117Copy full SHA for 4e7f117
.github/workflows/reusable_benchmarks.yml
@@ -136,11 +136,14 @@ jobs:
136
taskset -c ${{ env.CORES }} ${{ github.workspace }}/sycl-repo/unified-runtime/scripts/benchmarks/main.py
137
~/bench_workdir_umf
138
--umf ${{env.BUILD_DIR}}
139
+ --compare baseline
140
${{ inputs.upload_report && '--output-html' || '' }}
141
+ ${{ inputs.pr_no != 0 && '--output-markdown' || '' }}
142
${{ inputs.bench_script_params }}
143
144
+ # In case it failed to add a comment, we can still print the results.
145
- name: Print benchmark results
- if: ${{ always() }}
146
+ if: ${{ always() && inputs.pr_no != 0 }}
147
run: cat ${{env.BUILD_DIR}}/benchmark_results.md
148
149
- name: Add comment to PR
0 commit comments