Skip to content

Commit

Permalink
Update GPU buildkite tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nHackel committed Jul 4, 2024
1 parent b835266 commit 5c1b27f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
23 changes: 21 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- label: "Nvidia GPUs -- LinearOperators.jl"
- label: "Nvidia GPUs -- LinearOperatorCollection.jl"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
Expand All @@ -13,7 +13,26 @@ steps:
using TestEnv
TestEnv.activate();
Pkg.add("CUDA")
Pkg.add("CuNFFT")
Pkg.instantiate()
include("test/gpu/cuda.jl")'
timeout_in_minutes: 30

steps:
- label: "AMD GPUs -- LinearOperatorCollection.jl"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
agents:
queue: "juliagpu"
rocm: "*"
rocmgpu: "*"
command: |
julia --color=yes --project -e '
using Pkg
Pkg.add("TestEnv")
using TestEnv
TestEnv.activate();
Pkg.add("AMDGPU")
Pkg.instantiate()
include("test/gpu/rocm.jl")'
timeout_in_minutes: 30
2 changes: 1 addition & 1 deletion test/gpu/cuda.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using CUDA, CuNFFT
using CUDA

arrayTypes = [CuArray]

Expand Down
5 changes: 5 additions & 0 deletions test/gpu/rocm.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
using AMDGPU

arrayTypes = [ROCArray]

include(joinpath(@__DIR__(), "..", "runtests.jl"))

0 comments on commit 5c1b27f

Please sign in to comment.