`CudaSlice` equivalent of `Slice::split_at_mut`
dkales opened this issue · comments
Daniel Kales commented
The CudaSlice abstraction does not have an API to split it into two mutable CudaViewMut
s, which kind of forces a user to do so with CudaView
s, and passing references to those to kernels if they want to separate a CudaSlice into two sub-slices, which kind of defeats the point of trying to more cleanly work with CudaViewMut
s.
It would be nice if there was an analogue to the std library function split_at_mut
, for both CudaSlice
s and CudaViewMut
s.