define has_cuarrays when no cuda
This commit is contained in:
parent
9da32e5d78
commit
9cd97f06f7
|
@ -33,6 +33,8 @@ if has_cuda()
|
|||
@warn "CUDA is installed, but CuArrays.jl fails to load" exception=(ex,catch_backtrace())
|
||||
@eval has_cuarrays() = false
|
||||
end
|
||||
else
|
||||
has_cuarrays() = false
|
||||
end
|
||||
|
||||
include("utils.jl")
|
||||
|
|
Loading…
Reference in New Issue