old cuarrays compat

This commit is contained in:
Mike J Innes 2018-11-14 10:53:26 -05:00
parent a57f66e58a
commit cbc29c889a

View File

@ -2,6 +2,10 @@ module CUDA
using ..CuArrays
if !applicable(CuArray{UInt8}, undef, 1)
(T::Type{<:CuArray})(::UndefInitializer, sz...) = T(sz...)
end
if CuArrays.libcudnn != nothing
include("cudnn.jl")
else