tweaks
This commit is contained in:
parent
9b2f4919ee
commit
7555e488c6
|
@ -39,11 +39,10 @@ include("data/Data.jl")
|
||||||
|
|
||||||
include("deprecations.jl")
|
include("deprecations.jl")
|
||||||
|
|
||||||
include(joinpath(@__DIR__, "cuda/cuda.jl"))
|
include("cuda/cuda.jl")
|
||||||
|
|
||||||
|
|
||||||
function __init__()
|
function __init__()
|
||||||
use_cuda[] = CuArrays.functional() # Can be overridden after load with Flux.use_cuda[] = false
|
use_cuda[] = CuArrays.functional() # Can be overridden after load with `Flux.use_cuda[] = false`
|
||||||
if CuArrays.functional()
|
if CuArrays.functional()
|
||||||
if !CuArrays.has_cudnn()
|
if !CuArrays.has_cudnn()
|
||||||
@warn "CuArrays.jl found cuda, but did not find libcudnn. Some functionality will not be available."
|
@warn "CuArrays.jl found cuda, but did not find libcudnn. Some functionality will not be available."
|
||||||
|
|
Loading…
Reference in New Issue