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
That said you can just do Array(some_rarray) and it'll copy to host which should be usable for whatever.
Though clearly we should add some nicer concretearray wrappers
Hmm yes that can work in a pinch. It's convenience that's the main issue I think; eg we use reductions commonly to assess simulation state while something is running, etc
Here's a bit of set up code:
Now I'll to compare some things. Comparisons of
parent(u)
(a CuArray) and andparent(ru)
workHowever reductions of SubArray of RArray fail:
We also cannot reduce
Field
of RArray, possibly for the same reason:In the latter case, we do hit
map!
fromCUDA.jl
(like we would formaximum(u)
).The text was updated successfully, but these errors were encountered: