rm jit from cuda

This commit is contained in:
Mike J Innes 2018-04-15 15:08:58 +01:00
parent 5cc681317a
commit b05e755068

View File

@ -4,11 +4,4 @@ using CuArrays
CuArrays.cudnn_available() && include("cudnn.jl")
import ..Flux.JIT: Shape, restructure
function restructure(sh::Shape{T}, buf::CuVector{UInt8}) where T
buf = buf[1:sizeof(sh)]
reshape(reinterpret(T, buf), size(sh))
end
end