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
We have full-View-size bounce buffer serialization to handle Views with each of const element type and whose contents live in host-inaccessible device memory space (e.g. CudaSpace sans UVM). It looks like the code as currently written may naively allocate a mirror and copy the whole View to unwrap each of these.
Given that we're potentially serializing View<T const> already, I don't think we need to worry about the underlying storage not actually being writable. So, I think the right solution to this would be to not copy View<T const>, but rather to just alias it by an equivalent View<T>
The text was updated successfully, but these errors were encountered:
We have full-View-size bounce buffer serialization to handle Views with each of
const
element type and whose contents live in host-inaccessible device memory space (e.g.CudaSpace
sans UVM). It looks like the code as currently written may naively allocate a mirror and copy the whole View to unwrap each of these.Given that we're potentially serializing
View<T const>
already, I don't think we need to worry about the underlying storage not actually being writable. So, I think the right solution to this would be to not copyView<T const>
, but rather to just alias it by an equivalentView<T>
The text was updated successfully, but these errors were encountered: