Skip to content

Commit 8136608

Browse files
authored
[CI] Add ARL to tpp-mlir CI pipeline (#1084)
This `patch` adds `ARL` machine to the `CI` tests pipeline.
1 parent bf43634 commit 8136608

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/tpp-benchmark.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
description: "Run on CLX"
1616
type: boolean
1717
default: true
18+
RUN_ARL_BENCH:
19+
description: "Run on ARL"
20+
type: boolean
21+
default: true
1822
push:
1923
branches:
2024
- 'main'
@@ -125,3 +129,33 @@ jobs:
125129
CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
126130
${{ github.workspace }}/scripts/github/benchmark.sh -o"
127131
${{ env.SRUN }} --partition=clxap --time=0:30:00 -- $CMD
132+
133+
TPP-MLIR-ARL-BASE:
134+
runs-on: pcl-tiergarten
135+
if: |
136+
(github.event_name == 'push') ||
137+
(github.event_name == 'workflow_dispatch' && inputs.RUN_ARL_BENCH) ||
138+
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'benchmark-full'))
139+
needs: Check_LLVM
140+
steps:
141+
- uses: actions/checkout@v4
142+
- name: ARL Base
143+
run: |-
144+
CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
145+
${{ github.workspace }}/scripts/github/benchmark.sh -b -p"
146+
${{ env.SRUN }} --partition=arl --time=0:30:00 -- $CMD
147+
148+
TPP-MLIR-ARL-OMP:
149+
runs-on: pcl-tiergarten
150+
if: |
151+
(github.event_name == 'push') ||
152+
(github.event_name == 'workflow_dispatch' && inputs.RUN_ARL_BENCH) ||
153+
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'benchmark-full'))
154+
needs: Check_LLVM
155+
steps:
156+
- uses: actions/checkout@v4
157+
- name: ARL OpenMP
158+
run: |-
159+
CMD="KIND=Release COMPILER=clang LINKER=lld BENCHMARK_NUM_ITER=${{ env.NUM_ITER }} \
160+
${{ github.workspace }}/scripts/github/benchmark.sh -o"
161+
${{ env.SRUN }} --partition=arl --time=0:30:00 -- $CMD

0 commit comments

Comments
 (0)