Skip to content

Commit 7e37a56

Browse files
committed
Fix reshape.
1 parent 9b1d55d commit 7e37a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/device/array.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,6 @@ end
260260

261261
# create a derived device array (reinterpreted or reshaped) that's still a CuDeviceArray
262262
@inline function _derived_array(a::CuDeviceArray{<:Any,<:Any,A,I}, ::Type{T},
263-
osize::Dims{N}) where {T, N, A}
263+
osize::Dims{N}) where {T, N, A, I}
264264
return CuDeviceArray{T,N,A,I}(a.ptr, osize, a.maxsize)
265265
end

0 commit comments

Comments
 (0)