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())
|
@warn "CUDA is installed, but CuArrays.jl fails to load" exception=(ex,catch_backtrace())
|
||||||
@eval has_cuarrays() = false
|
@eval has_cuarrays() = false
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
has_cuarrays() = false
|
||||||
end
|
end
|
||||||
|
|
||||||
include("utils.jl")
|
include("utils.jl")
|
||||||
|
Loading…
Reference in New Issue
Block a user