Skip to content

Commit

Permalink
bench
Browse files Browse the repository at this point in the history
  • Loading branch information
rengolin committed Jan 31, 2024
1 parent eb172f8 commit 1efed00
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .github/workflows/tpp-benchmark.yml
Original file line number Diff line number Diff line change
@@ -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"


4 changes: 3 additions & 1 deletion .github/workflows/tpp-mlir.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: TPP-MLIR Base Tests

# For now, we do it manually, but this will need to be on commit
on:
workflow_dispatch:
push:
branches: [ "ghactions" ]
pull_request:
branches: [ "ghactions" ]

env:
NPROCS_LIMIT_LINK: 8

jobs:
Check_LLVM:
runs-on: self-hosted
Expand Down

0 comments on commit 1efed00

Please sign in to comment.