Skip to content

Commit

Permalink
correct queues, CMD everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
rengolin committed Feb 2, 2024
1 parent 09db929 commit 8493d0a
Showing 1 changed file with 18 additions and 35 deletions.
53 changes: 18 additions & 35 deletions .github/workflows/tpp-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ on:
RUN_CLX_BENCH:
description: "Run on Coffee Lake"
default: 0
NUM_ITER:
description: "Number of iterations"
default: 100
push:
branches: [ "ghactions" ]
pull_request:
Expand All @@ -28,22 +25,8 @@ env:
NUM_ITER: 100

jobs:
Set_Environment:
runs-on: pcl-tiergarten
steps:
- name: Set environment
run: |-
echo "NUM_ITER=$(
if [ -x \"${{ inputs.NUM_ITER }}\" ]; then
echo ${{ inputs.NUM_ITER }}
else
echo ${{ env.NUM_ITER }}
fi
)" >> $GITHUB_ENV
Check_LLVM:
runs-on: pcl-tiergarten
needs: Set_Environment
steps:
- uses: actions/checkout@v4
- name: Check LLVM
Expand Down Expand Up @@ -86,9 +69,9 @@ jobs:
- uses: actions/checkout@v4
- name: Zen4 Base
run: |-
${{ secrets.SRUN }} --partition=zen4 --time=2:00:00 --constraint=\"notrb\" -- \
'KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${NUM_ITER} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -b -p'
CMD="KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -b -p"
${{ secrets.SRUN }} --partition=zen4 --time=2:00:00 --constraint=\"notrb\" -- $CMD
TPP-MLIR-ZEN-OMP:
runs-on: pcl-tiergarten
Expand All @@ -97,9 +80,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Zen4 OpenMP
run: "${{ secrets.SRUN }} --partition=zen4 --time=2:00:00 --constraint=\"notrb\" -- \
'KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${NUM_ITER} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -o'"
CMD="KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -o"
${{ secrets.SRUN }} --partition=zen4 --time=2:00:00 --constraint=\"notrb\" -- $CMD

TPP-MLIR-CLX-BASE:
runs-on: pcl-tiergarten
Expand All @@ -109,9 +92,9 @@ jobs:
- uses: actions/checkout@v4
- name: Coffee Lake Base
run: |-
${{ secrets.SRUN }} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \
'KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${NUM_ITER} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -b -p'
CMD="KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -b -p"
${{ secrets.SRUN }} --partition=clxap --time=2:00:00 --constraint=\"notrb\" -- $CMD
TPP-MLIR-CLX-OMP:
runs-on: pcl-tiergarten
Expand All @@ -121,9 +104,9 @@ jobs:
- uses: actions/checkout@v4
- name: Coffee Lake OpenMP
run: |-
${{ secrets.SRUN }} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \
'KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${NUM_ITER} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -o'
CMD="KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -o"
${{ secrets.SRUN }} --partition=clxap --time=2:00:00 --constraint=\"notrb\" -- $CMD
TPP-MLIR-ADL-BASE:
runs-on: pcl-tiergarten
Expand All @@ -133,9 +116,9 @@ jobs:
- uses: actions/checkout@v4
- name: Raptor Lake Base
run: |-
${{ secrets.SRUN }} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \
'KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${NUM_ITER} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -b -p'
CMD="KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -b -p"
${{ secrets.SRUN }} --partition=rpl --time=2:00:00 --constraint=\"notrb\" -- $CMD
TPP-MLIR-ADL-OMP:
runs-on: pcl-tiergarten
Expand All @@ -145,6 +128,6 @@ jobs:
- uses: actions/checkout@v4
- name: Raptor Lake OpenMP
run: |-
${{ secrets.SRUN }} --partition=spr --time=2:00:00 --constraint=\"notrb\" -- \
'KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${NUM_ITER} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -o'
CMD="KIND=Release COMPILER=clang LINKER=lld BUILDKITE_BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
${{ github.workspace }}/scripts/buildkite/benchmark.sh -o"
${{ secrets.SRUN }} --partition=rpl --time=2:00:00 --constraint=\"notrb\" -- $CMD

0 comments on commit 8493d0a

Please sign in to comment.