You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Attempted to wrap a MemoryRef of length $len with an Array of size dims=$dims, which is invalid because prod(dims) = $proddims > $len, so that the array would have more elements than the underlying memory can store."))
3065
+
3066
+
functionwrap(::Type{Array}, m::Memory{T}, dims::NTuple{N, Integer}) where {T, N}
3067
+
wrap(Array, MemoryRef(m), dims)
3068
+
end
3069
+
functionwrap(::Type{Array}, m::MemoryRef{T}, l::Integer) where {T}
3070
+
wrap(Array, m, (l,))
3071
+
end
3072
+
functionwrap(::Type{Array}, m::Memory{T}, l::Integer) where {T}
0 commit comments