Remove wrong warning.

This commit is contained in:
Tim Besard 2019-11-07 13:07:12 +01:00
parent 8638bcdcd7
commit 69bf84278f

View File

@ -41,7 +41,7 @@ include("deprecations.jl")
function __init__() function __init__()
if !CUDAdrv.functional() if !CUDAdrv.functional()
@warn "CUDA available, but CUDAdrv.jl failed to load" # nothing to do here, the user doesn't have CUDA
elseif length(devices()) == 0 elseif length(devices()) == 0
@warn "CUDA available, but no GPU detected" @warn "CUDA available, but no GPU detected"
elseif !CuArrays.functional() elseif !CuArrays.functional()