From 1efed0032434c06ab029b4ced3c286fb4ec9bd01 Mon Sep 17 00:00:00 2001 From: Renato Golin Date: Wed, 31 Jan 2024 14:12:04 +0000 Subject: [PATCH] bench --- .github/workflows/tpp-benchmark.yml | 41 +++++++++++++++++++++++++++++ .github/workflows/tpp-mlir.yml | 4 ++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/tpp-benchmark.yml diff --git a/.github/workflows/tpp-benchmark.yml b/.github/workflows/tpp-benchmark.yml new file mode 100644 index 000000000..9ea1a3b59 --- /dev/null +++ b/.github/workflows/tpp-benchmark.yml @@ -0,0 +1,41 @@ +name: TPP-MLIR Benchmarks + +on: + workflow_dispatch: + push: + branches: [ "ghactions" ] + pull_request: + branches: [ "ghactions" ] + +env: + NPROCS_LIMIT_LINK: 8 + RUN_SPR_BENCH: 1 + +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: "${SRUN} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \ + 'KIND=Release COMPILER=clang LINKER=lld \ + scripts/buildkite/benchmark.sh -b -p'" + if: ${{ env.RUN_SPR_BENCH }} == "1" + + TPP-MLIR-SPR-OMP: + runs-on: self-hosted + needs: Check_LLVM + steps: + - name: Sapphire Rapids OpenMP + run: "${SRUN} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \ + 'KIND=Release COMPILER=clang LINKER=lld \ + scripts/buildkite/benchmark.sh -o'" + if: ${{ env.RUN_SPR_BENCH }} == "1" + + diff --git a/.github/workflows/tpp-mlir.yml b/.github/workflows/tpp-mlir.yml index 5a70036cc..960633325 100644 --- a/.github/workflows/tpp-mlir.yml +++ b/.github/workflows/tpp-mlir.yml @@ -1,6 +1,5 @@ name: TPP-MLIR Base Tests -# For now, we do it manually, but this will need to be on commit on: workflow_dispatch: push: @@ -8,6 +7,9 @@ on: pull_request: branches: [ "ghactions" ] +env: + NPROCS_LIMIT_LINK: 8 + jobs: Check_LLVM: runs-on: self-hosted