rm jit from cuda
This commit is contained in:
parent
5cc681317a
commit
b05e755068
@ -4,11 +4,4 @@ using CuArrays
|
|||||||
|
|
||||||
CuArrays.cudnn_available() && include("cudnn.jl")
|
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
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user