File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2222
2323[compat ]
2424KernelAbstractions = " <0.9.30"
25- julia = " 1.6 "
25+ Enzyme = " <0.13.35 "
Original file line number Diff line number Diff line change 11using SafeTestsets
22using Test
33
4- const GROUP = get (ENV , " GROUP" , " CPU" )
4+ global CI_GROUP = get (ENV , " GROUP" , " CPU" )
55
66@safetestset " Regression tests" include (" ./regression.jl" )
77@safetestset " Reinitialization tests" include (" ./reinit.jl" )
88
99# TODO : Curent throws warning for redefinition with the use of @testset multiple times. Migrate to TestItemRunners.jl
10- @testset for GROUP in unique ((" CPU" , GROUP))
11- @testset " $(GROUP) optimizers tests" include (" ./gpu.jl" )
12- @testset " $(GROUP) optimizers with constraints tests" include (" ./constraints.jl" )
13- @testset " $(GROUP) hybrid optimizers" include (" ./lbfgs.jl" )
10+ @testset for BACKEND in unique ((" CPU" , CI_GROUP))
11+ global GROUP = BACKEND
12+ @testset " $(BACKEND) optimizers tests" include (" ./gpu.jl" )
13+ @testset " $(BACKEND) optimizers with constraints tests" include (" ./constraints.jl" )
14+ @testset " $(BACKEND) hybrid optimizers" include (" ./lbfgs.jl" )
1415end
Original file line number Diff line number Diff line change 1- const GROUP = get (ENV , " GROUP" , " CPU" )
2- const backend = if GROUP == " CUDA"
1+ global backend = if GROUP == " CUDA"
32 using CUDA
43 CUDA. CUDABackend ()
54elseif GROUP == " AMDGPU"
You can’t perform that action at this time.
0 commit comments