cudarc icon indicating copy to clipboard operation
cudarc copied to clipboard

`CudaSlice` equivalent of `Slice::split_at_mut`

Open dkales opened this issue 1 year ago • 0 comments

The CudaSlice abstraction does not have an API to split it into two mutable CudaViewMuts, which kind of forces a user to do so with CudaViews, 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 CudaViewMuts.

It would be nice if there was an analogue to the std library function split_at_mut, for both CudaSlices and CudaViewMuts.

dkales avatar May 16 '24 13:05 dkales