-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2281 from oneapi-src/benchmark-improvements
improve benchmark scripts and add a nightly job
- Loading branch information
Showing
25 changed files
with
1,182 additions
and
433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Compute Benchmarks Nightly | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Runs at midnight UTC every day | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
jobs: | ||
nightly: | ||
name: Compute Benchmarks Nightly level-zero | ||
uses: ./.github/workflows/benchmarks-reusable.yml | ||
with: | ||
str_name: 'level_zero' | ||
unit: 'gpu' | ||
pr_no: 0 | ||
bench_script_params: '--save baseline' | ||
sycl_config_params: '' | ||
sycl_repo: 'intel/llvm' | ||
sycl_commit: '' | ||
|
||
nightly2: | ||
# we need to wait until previous job is done so that the html report | ||
# contains both runs | ||
needs: nightly | ||
name: Compute Benchmarks Nightly level-zero v2 | ||
uses: ./.github/workflows/benchmarks-reusable.yml | ||
with: | ||
str_name: 'level_zero_v2' | ||
unit: 'gpu' | ||
pr_no: 0 | ||
bench_script_params: '--save baseline-v2' | ||
sycl_config_params: '' | ||
sycl_repo: 'intel/llvm' | ||
sycl_commit: '' | ||
upload_report: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Compute Benchmarks | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
str_name: | ||
description: Formatted adapter name | ||
type: choice | ||
required: true | ||
default: 'level_zero' | ||
options: | ||
- level_zero | ||
- level_zero_v2 | ||
unit: | ||
description: Test unit (cpu/gpu) | ||
type: choice | ||
required: true | ||
default: 'gpu' | ||
options: | ||
- cpu | ||
- gpu | ||
pr_no: | ||
description: PR number (if 0, it'll run on the main) | ||
type: number | ||
required: true | ||
bench_script_params: | ||
description: Parameters passed to script executing benchmark | ||
type: string | ||
required: false | ||
default: '' | ||
sycl_config_params: | ||
description: Extra params for SYCL configuration | ||
type: string | ||
required: false | ||
default: '' | ||
sycl_repo: | ||
description: 'Compiler repo' | ||
type: string | ||
required: true | ||
default: 'intel/llvm' | ||
sycl_commit: | ||
description: 'Compiler commit' | ||
type: string | ||
required: false | ||
default: '' | ||
upload_report: | ||
description: 'Upload HTML report' | ||
type: boolean | ||
required: false | ||
default: false | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
jobs: | ||
manual: | ||
name: Compute Benchmarks | ||
uses: ./.github/workflows/benchmarks-reusable.yml | ||
with: | ||
str_name: ${{ inputs.str_name }} | ||
unit: ${{ inputs.unit }} | ||
pr_no: ${{ inputs.pr_no }} | ||
bench_script_params: ${{ inputs.bench_script_params }} | ||
sycl_config_params: ${{ inputs.sycl_config_params }} | ||
sycl_repo: ${{ inputs.sycl_repo }} | ||
sycl_commit: ${{ inputs.sycl_commit }} | ||
upload_report: ${{ inputs.upload_report }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.