define has_cuarrays when no cuda

This commit is contained in:
Mike J Innes 2019-08-27 15:06:04 +01:00
parent 9da32e5d78
commit 9cd97f06f7
1 changed files with 2 additions and 0 deletions

View File

@ -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")