-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathrunbenchmarks.yml
More file actions
166 lines (149 loc) · 5.36 KB
/
runbenchmarks.yml
File metadata and controls
166 lines (149 loc) · 5.36 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
steps:
- group: ":racehorse: Benchmarks"
steps:
- label: "CPU: Run Benchmarks with {{matrix.threads}} thread(s)"
matrix:
setup:
threads:
- "1"
- "2"
- "4"
- "8"
plugins:
- JuliaCI/julia#v1:
version: "1"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop([
PackageSpec(path=pwd(), subdir="KomaMRIBase"),
PackageSpec(path=pwd(), subdir="KomaMRICore"),
])'
julia --project=benchmarks -e 'println("--- :julia: Run Benchmarks")
include("benchmarks/runbenchmarks.jl")'
artifact_paths:
- "benchmarks/results/*"
agents:
arch: "aarch64"
queue: "juliaecosystem"
num_cpus: "8"
env:
BENCHMARK_GROUP: CPU
JULIA_NUM_THREADS: "{{matrix.threads}}"
timeout_in_minutes: 30
- label: "AMDGPU: Run Benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop([
PackageSpec(path=pwd(), subdir="KomaMRIBase"),
PackageSpec(path=pwd(), subdir="KomaMRICore"),
])'
julia --project=benchmarks -e 'println("---:julia: Add AMDGPU to benchmarks environment")
using Pkg
Pkg.add("AMDGPU")'
julia --project=benchmarks -e 'println("--- :julia: Run Benchmarks")
include("benchmarks/runbenchmarks.jl")'
artifact_paths:
- "benchmarks/results/*"
agents:
queue: "juliagpu"
rocm: "*"
rocmgpu: "*"
env:
BENCHMARK_GROUP: AMDGPU
timeout_in_minutes: 30
- label: "CUDA: Run Benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop([
PackageSpec(path=pwd(), subdir="KomaMRIBase"),
PackageSpec(path=pwd(), subdir="KomaMRICore"),
])'
julia --project=benchmarks -e 'println("---:julia: Add CUDA to benchmarks environment")
using Pkg
Pkg.add("CUDA")'
julia --project=benchmarks -e 'println("--- :julia: Run Benchmarks")
include("benchmarks/runbenchmarks.jl")'
artifact_paths:
- "benchmarks/results/*"
agents:
queue: "benchmark"
gpu: "rtx2070"
cuda: "*"
env:
BENCHMARK_GROUP: CUDA
timeout_in_minutes: 30
- label: "Metal: Run Benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop([
PackageSpec(path=pwd(), subdir="KomaMRIBase"),
PackageSpec(path=pwd(), subdir="KomaMRICore"),
])'
julia --project=benchmarks -e 'println("---:julia: Add Metal to benchmarks environment")
using Pkg
Pkg.add("Metal")'
julia --project=benchmarks -e 'println("--- :julia: Run Benchmarks")
include("benchmarks/runbenchmarks.jl")'
artifact_paths:
- "benchmarks/results/*"
agents:
queue: "juliaecosystem"
os: "macos"
arch: "aarch64"
env:
BENCHMARK_GROUP: Metal
timeout_in_minutes: 30
- label: "oneAPI: Run Benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop([
PackageSpec(path=pwd(), subdir="KomaMRIBase"),
PackageSpec(path=pwd(), subdir="KomaMRICore"),
])'
julia --project=benchmarks -e 'println("---:julia: Add CUDA to benchmarks environment")
using Pkg
Pkg.add("oneAPI")'
julia --project=benchmarks -e 'println("--- :julia: Run Benchmarks")
include("benchmarks/runbenchmarks.jl")'
artifact_paths:
- "benchmarks/results/*"
agents:
queue: "juliagpu"
intel: "*"
env:
BENCHMARK_GROUP: oneAPI
timeout_in_minutes: 30
- wait: ~
- label: "Combine benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1"
command: |
buildkite-agent artifact download "benchmarks/results/*" .
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.instantiate()'
julia --project=benchmarks -e 'println("--- :julia: Combining Benchmarks")
include("benchmarks/aggregate.jl")'
artifact_paths:
- "benchmarks/results/combinedbenchmarks.json"
agents:
queue: "juliagpu"
timeout_in_minutes: 10