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
using CuArrays
CuArrays.allowscalar(false)
inn =784; out =32
p =randn(784*100) |> gpu
x =rand(Float32, 784, 100) |> gpu
p[reshape(1:(out*inn),out,inn)] * x
@view(p[reshape(1:(out*inn),out,inn)]) * x
Note that this now works in Julia Base on v1.5 because of @mbauman JuliaLang/julia#34729
The text was updated successfully, but these errors were encountered: