Skip to content

Commit

Permalink
fix tests and update timeout time
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale-Black committed Sep 13, 2024
1 parent 673c244 commit 9ef144a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .buildkite/runbenchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ steps:
queue: "benchmark"
env:
BENCHMARK_GROUP: CPU
timeout_in_minutes: 5
timeout_in_minutes: 12

- label: "CUDA: Run Benchmarks"
key: "cuda-benchmarks"
Expand All @@ -48,7 +48,7 @@ steps:
cuda: "*"
env:
BENCHMARK_GROUP: CUDA
timeout_in_minutes: 5
timeout_in_minutes: 12

- label: "AMDGPU: Run Benchmarks"
key: "amdgpu-benchmarks"
Expand All @@ -70,7 +70,7 @@ steps:
rocm: "*"
env:
BENCHMARK_GROUP: AMDGPU
timeout_in_minutes: 5
timeout_in_minutes: 12

- label: "oneAPI: Run Benchmarks"
key: "oneapi-benchmarks"
Expand All @@ -92,7 +92,7 @@ steps:
intel: "*"
env:
BENCHMARK_GROUP: oneAPI
timeout_in_minutes: 5
timeout_in_minutes: 12

- label: "Metal: Run Benchmarks"
key: "metal-benchmarks"
Expand All @@ -115,7 +115,7 @@ steps:
arch: "arm64"
env:
BENCHMARK_GROUP: Metal
timeout_in_minutes: 5
timeout_in_minutes: 12

- wait: ~ # Wait for all benchmarks to finish

Expand Down
5 changes: 2 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using DistanceTransforms
using Test
using KernelAbstractions
using Random

AVAILABLE_GPU_BACKENDS = ["CUDA", "AMDGPU", "Metal", "oneAPI"]
TEST_BACKENDS = filter(x->x in [AVAILABLE_GPU_BACKENDS; "CPU"], ARGS)
Expand Down Expand Up @@ -40,8 +42,5 @@ else
dev = Array
end

using KernelAbstractions
using Random

include("transform.jl")
include("utils.jl")

0 comments on commit 9ef144a

Please sign in to comment.