-
Notifications
You must be signed in to change notification settings - Fork 31
46 lines (39 loc) · 1.13 KB
/
tpp-benchmark.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: TPP-MLIR Benchmarks
on:
workflow_call:
inputs:
RUN_SPR_BENCH:
description: "Run on Sapphire Rapids"
default: 1
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"