-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Github actions in the main branch
Having it on a separate branch messes up the github actions logic.
- Loading branch information
Showing
3 changed files
with
177 additions
and
4 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
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,121 @@ | ||
name: TPP-MLIR Benchmarks | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
RUN_SPR_BENCH: | ||
description: "Run on Sapphire Rapids" | ||
default: 1 | ||
required: true | ||
type: string | ||
RUN_ZEN_BENCH: | ||
description: "Run on Zen4" | ||
default: 0 | ||
required: true | ||
type: string | ||
RUN_ADL_BENCH: | ||
description: "Run on Raptor Lake" | ||
default: 0 | ||
required: true | ||
type: string | ||
RUN_CLX_BENCH: | ||
description: "Run on Coffee Lake" | ||
default: 0 | ||
required: true | ||
type: string | ||
push: | ||
branches: [ "ghactions" ] | ||
pull_request: | ||
branches: [ "ghactions" ] | ||
|
||
env: | ||
NPROCS_LIMIT_LINK: 8 | ||
|
||
jobs: | ||
Check_LLVM: | ||
runs-on: self-hosted | ||
steps: | ||
- name: Check LLVM | ||
run: "BUILD=1 scripts/buildkite/check_llvm.sh" | ||
|
||
TPP-MLIR-SPR-BASE: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: Sapphire Rapids Base | ||
run: "${{ secrets.SRUN }} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \ | ||
'KIND=Release COMPILER=clang LINKER=lld \ | ||
scripts/buildkite/benchmark.sh -b -p'" | ||
if: ${{ inputs.RUN_SPR_BENCH }} == "1" | ||
|
||
TPP-MLIR-SPR-OMP: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: Sapphire Rapids OpenMP | ||
run: "${{ secrets.SRUN }} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \ | ||
'KIND=Release COMPILER=clang LINKER=lld \ | ||
scripts/buildkite/benchmark.sh -o'" | ||
if: ${{ inputs.RUN_SPR_BENCH }} == "1" | ||
|
||
TPP-MLIR-ZEN-BASE: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: Zen4 Base | ||
run: "${{ secrets.SRUN }} --partition=zen4 --time=2:00:00 --constraint=\"notrb\" -- \ | ||
'KIND=Release COMPILER=clang LINKER=lld \ | ||
scripts/buildkite/benchmark.sh -b -p'" | ||
if: ${{ inputs.RUN_ZEN_BENCH }} == "1" | ||
|
||
TPP-MLIR-ZEN-OMP: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: Zen4 OpenMP | ||
run: "${{ secrets.SRUN }} --partition=zen4 --time=2:00:00 --constraint=\"notrb\" -- \ | ||
'KIND=Release COMPILER=clang LINKER=lld \ | ||
scripts/buildkite/benchmark.sh -o'" | ||
if: ${{ inputs.RUN_ZEN_BENCH }} == "1" | ||
|
||
TPP-MLIR-CLX-BASE: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: Coffee Lake Base | ||
run: "${{ secrets.SRUN }} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \ | ||
'KIND=Release COMPILER=clang LINKER=lld \ | ||
scripts/buildkite/benchmark.sh -b -p'" | ||
if: ${{ inputs.RUN_CLX_BENCH }} == "1" | ||
|
||
TPP-MLIR-CLX-OMP: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: Coffee Lake OpenMP | ||
run: "${{ secrets.SRUN }} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \ | ||
'KIND=Release COMPILER=clang LINKER=lld \ | ||
scripts/buildkite/benchmark.sh -o'" | ||
if: ${{ inputs.RUN_CLX_BENCH }} == "1" | ||
|
||
TPP-MLIR-ADL-BASE: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: Raptor Lake Base | ||
run: "${{ secrets.SRUN }} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \ | ||
'KIND=Release COMPILER=clang LINKER=lld \ | ||
scripts/buildkite/benchmark.sh -b -p'" | ||
if: ${{ inputs.RUN_ADL_BENCH }} == "1" | ||
|
||
TPP-MLIR-ADL-OMP: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: Raptor Lake OpenMP | ||
run: "${{ secrets.SRUN }} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \ | ||
'KIND=Release COMPILER=clang LINKER=lld \ | ||
scripts/buildkite/benchmark.sh -o'" | ||
if: ${{ inputs.RUN_ADL_BENCH }} == "1" | ||
|
||
|
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,54 @@ | ||
name: TPP-MLIR Base Tests | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "ghactions" ] | ||
pull_request: | ||
branches: [ "ghactions" ] | ||
|
||
env: | ||
NPROCS_LIMIT_LINK: 8 | ||
|
||
jobs: | ||
Check_LLVM: | ||
runs-on: self-hosted | ||
steps: | ||
- name: Check LLVM | ||
run: "BUILD=1 scripts/buildkite/check_llvm.sh" | ||
|
||
TPP-MLIR-gcc-rel: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: GCC Release | ||
run: "${{ secrets.SRUN }} --partition=spr-all --time=0:30:00 -- \ | ||
'KIND=Release COMPILER=gcc CHECK=1 ONEDNN=1 \ | ||
scripts/buildkite/build_tpp.sh'" | ||
|
||
TPP-MLIR-gcc-deb: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: GCC Debug | ||
run: "${{ secrets.SRUN }} --partition=spr-all --time=0:30:00 -- \ | ||
'KIND=Debug COMPILER=gcc CHECK=1 ONEDNN=1 \ | ||
scripts/buildkite/build_tpp.sh'" | ||
|
||
TPP-MLIR-clang-rel: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: Clang Release | ||
run: "${{ secrets.SRUN }} --partition=spr-all --time=0:30:00 -- \ | ||
'KIND=Release COMPILER=clang LINKER=lld CHECK=1 ONEDNN=1 \ | ||
scripts/buildkite/build_tpp.sh'" | ||
|
||
TPP-MLIR-clang-deb: | ||
runs-on: self-hosted | ||
needs: Check_LLVM | ||
steps: | ||
- name: Clang Debug Sanitizers | ||
run: "${{ secrets.SRUN }} --partition=spr-all --time=0:30:00 -- \ | ||
'KIND=Debug COMPILER=clang LINKER=lld SANITIZERS=1 CHECK=1 ONEDNN=1 \ | ||
scripts/buildkite/build_tpp.sh'" |