From 7e37a5690755e1c97fcc05eeb66106c6d5a3a730 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Mon, 11 Sep 2023 17:25:15 +0200 Subject: [PATCH] Fix reshape. --- src/device/array.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/array.jl b/src/device/array.jl index 0459e12df7..e098c43694 100644 --- a/src/device/array.jl +++ b/src/device/array.jl @@ -260,6 +260,6 @@ end # create a derived device array (reinterpreted or reshaped) that's still a CuDeviceArray @inline function _derived_array(a::CuDeviceArray{<:Any,<:Any,A,I}, ::Type{T}, - osize::Dims{N}) where {T, N, A} + osize::Dims{N}) where {T, N, A, I} return CuDeviceArray{T,N,A,I}(a.ptr, osize, a.maxsize) end