Skip to content

Commit 63dc3d0

Browse files
authored
Fix oneAPI Buildkite integration (#751)
1 parent be613d3 commit 63dc3d0

3 files changed

Lines changed: 3 additions & 14 deletions

File tree

.buildkite/runtests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ steps:
156156
arch: "aarch64"
157157
timeout_in_minutes: 60
158158

159-
- label: "oneAPI - Julia {{matrix.version}} - Test - Core"
160-
if: build.env("TEST_GROUP") == "nomotion"
159+
- label: "oneAPI - Julia {{matrix.version}} - Test"
161160
matrix:
162161
setup:
163162
version:
@@ -174,7 +173,7 @@ steps:
174173
- KomaMRICore/src
175174
- KomaMRICore/ext
176175
env:
177-
TEST_GROUP: "core"
176+
TEST_GROUP: $TEST_GROUP
178177
command: |
179178
julia -e 'println("--- :julia: Instantiating project")
180179
using Pkg

benchmarks/aggregate.jl

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
using BenchmarkTools
22

3-
const DEFAULT_GPU_BACKENDS = ["AMDGPU", "CUDA", "Metal"]
4-
const EXPERIMENTAL_GPU_BACKENDS = ["oneAPI"]
5-
# Keep experimental backends out of published benchmark data by default while
6-
# still allowing manual opt-in aggregation when needed.
7-
const INCLUDE_EXPERIMENTAL_GPU_BACKENDS = get(
8-
ENV, "INCLUDE_EXPERIMENTAL_GPU_BACKENDS", "false"
9-
) == "true"
10-
const GPU_BACKENDS = INCLUDE_EXPERIMENTAL_GPU_BACKENDS ?
11-
[DEFAULT_GPU_BACKENDS; EXPERIMENTAL_GPU_BACKENDS] :
12-
DEFAULT_GPU_BACKENDS
3+
const GPU_BACKENDS = ["AMDGPU", "CUDA", "Metal", "oneAPI"]
134
const NUM_CPU_THREADS = [1, 2, 4, 8]
145

156
#Start with CPU benchmarks for 1 thread and add other results

benchmarks/runbenchmarks.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ BenchmarkTools.DEFAULT_PARAMETERS.seconds = 120
1010

1111
# To run benchmarks on a specific GPU backend, add AMDGPU / CUDA / Metal / oneAPI
1212
# to benchmarks/Project.toml and change BENCHMARK_GROUP to the backend name.
13-
# oneAPI support is experimental and is disabled in CI benchmark publishing.
1413
const BENCHMARK_GROUP = get(ENV, "BENCHMARK_GROUP", "CPU")
1514
const BENCHMARK_CPU_THREADS = Threads.nthreads()
1615

0 commit comments

Comments
 (0)