We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be1bfb4 commit 183413bCopy full SHA for 183413b
test/runtests.jl
@@ -1,14 +1,16 @@
1
using PSOGPU
2
using Test, StaticArrays, LinearAlgebra, Random
3
4
-const GROUP = get(ENV, "GROUP", "All")
+const GROUP = get(ENV, "GROUP", "CPU")
5
6
@testset "Rosenbrock test dimension = $(n)" for n in 2:4
7
global N = n
8
include("./regression.jl")
9
end
10
11
-if GROUP == "CUDA"
+if GROUP != "CPU"
12
+ @eval using $(Symbol(GROUP))
13
+
14
@testset "Rosenbrock on gpu" begin
15
include("./gpu.jl")
16
0 commit comments