Skip to content

Commit 6c49b23

Browse files
committed
tests: Set backend
1 parent a48ef07 commit 6c49b23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/runtests.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ end
1010

1111
if GROUP != "CPU"
1212
@eval using $(Symbol(GROUP))
13+
if GROUP == "CUDA"
14+
backend = CUDABackend()
15+
elseif GROUP == "AMDGPU"
16+
backend = ROCBackend()
17+
end
1318

1419
@testset "Rosenbrock on gpu" begin
1520
include("./gpu.jl")

0 commit comments

Comments
 (0)