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
I am not sure if this bug belongs here or in the base or if I should get my head checked but this got me stumpted. And it does not happen when I replace CudaArray's with Array's. So I am posting here:
using CUDArt
function bmultest5(a::CudaArray, d::Dims)
@show typeof(size(a))
@show size(a)
b = reinterpret(eltype(a), a, d)
@show typeof(size(b))
@show size(b)
@show Cint[size(b)...]
end
bmultest5(CudaArray(zeros(2)), (2,1,1,1))
I am not sure if this bug belongs here or in the base or if I should get my head checked but this got me stumpted. And it does not happen when I replace CudaArray's with Array's. So I am posting here:
gives
i.e. if size(b) has more than 2 elements, only the first two show up in the result of Cint[size(b)...]!
The text was updated successfully, but these errors were encountered: