Skip to content

Commit

Permalink
Fix reshape.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Sep 11, 2023
1 parent 9b1d55d commit 7e37a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7e37a56

Please sign in to comment.