old cuarrays compat
This commit is contained in:
parent
a57f66e58a
commit
cbc29c889a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user