Skip to content

Commit

Permalink
run full benchmark suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale-Black committed Dec 27, 2024
1 parent 05ab999 commit 5277c14
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 50 deletions.
90 changes: 45 additions & 45 deletions .buildkite/runbenchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,27 +107,27 @@ steps:
BENCHMARK_GROUP: CUDA
timeout_in_minutes: 12

# - label: "AMDGPU: Run Benchmarks"
# key: "amdgpu-benchmarks"
# plugins:
# - JuliaCI/julia#v1:
# version: "1.10"
# command: |
# julia --project=benchmarks -e '
# using Pkg;
# Pkg.instantiate();
# Pkg.develop(path=pwd());
# Pkg.add("AMDGPU");
# '
# julia --project=benchmarks benchmarks/runbenchmarks.jl
# artifacts:
# - "benchmarks/results/AMDGPUbenchmarks.json"
# agents:
# queue: "juliagpu"
# rocm: "*"
# env:
# BENCHMARK_GROUP: AMDGPU
# timeout_in_minutes: 12
- label: "AMDGPU: Run Benchmarks"
key: "amdgpu-benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
command: |
julia --project=benchmarks -e '
using Pkg;
Pkg.instantiate();
Pkg.develop(path=pwd());
Pkg.add("AMDGPU");
'
julia --project=benchmarks benchmarks/runbenchmarks.jl
artifacts:
- "benchmarks/results/AMDGPUbenchmarks.json"
agents:
queue: "juliagpu"
rocm: "*"
env:
BENCHMARK_GROUP: AMDGPU
timeout_in_minutes: 12

- label: "oneAPI: Run Benchmarks"
key: "oneapi-benchmarks"
Expand All @@ -151,28 +151,28 @@ steps:
BENCHMARK_GROUP: oneAPI
timeout_in_minutes: 12

# - label: "Metal: Run Benchmarks"
# key: "metal-benchmarks"
# plugins:
# - JuliaCI/julia#v1:
# version: "1.10"
# command: |
# julia --project=benchmarks -e '
# using Pkg;
# Pkg.instantiate();
# Pkg.develop(path=pwd());
# Pkg.add("Metal");
# '
# julia --project=benchmarks benchmarks/runbenchmarks.jl
# artifacts:
# - "benchmarks/results/Metalbenchmarks.json"
# agents:
# queue: "juliaecosystem"
# os: "macos"
# arch: "arm64"
# env:
# BENCHMARK_GROUP: Metal
# timeout_in_minutes: 12
- label: "Metal: Run Benchmarks"
key: "metal-benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
command: |
julia --project=benchmarks -e '
using Pkg;
Pkg.instantiate();
Pkg.develop(path=pwd());
Pkg.add("Metal");
'
julia --project=benchmarks benchmarks/runbenchmarks.jl
artifacts:
- "benchmarks/results/Metalbenchmarks.json"
agents:
queue: "juliaecosystem"
os: "macos"
arch: "arm64"
env:
BENCHMARK_GROUP: Metal
timeout_in_minutes: 12

- wait: ~ # Wait for all benchmarks to finish

Expand All @@ -185,8 +185,8 @@ steps:
- "cpu-benchmarks-8"
- "cuda-benchmarks"
- "oneapi-benchmarks"
# - "amdgpu-benchmarks"
# - "metal-benchmarks"
- "amdgpu-benchmarks"
- "metal-benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
Expand Down
7 changes: 2 additions & 5 deletions benchmarks/setup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ elseif BENCHMARK_GROUP == "oneAPI"
end

function setup_benchmarks(suite::BenchmarkGroup, backend::String, num_cpu_threads::Int64)
# sizes_2D = [2^i for i in 3:12]
# sizes_3D = [2^i for i in 0:8]

sizes_2D = [2^i for i in 3:6]
sizes_3D = [2^i for i in 0:3]
sizes_2D = [2^i for i in 3:12]
sizes_3D = [2^i for i in 0:8]

if backend == "CPU"
# 2D benchmarks
Expand Down

0 comments on commit 5277c14

Please sign in to comment.