Reduce restrictions on Clone for CudaSlice
coreylowman opened this issue · comments
Currently the impl for clone has T: DeviceRepr
. Given that all the methods of creating a CudaSlice
already include this DeviceRepr restriction, we don't actually need this bound on clone.
Probably not worth it TBH. Would involve basically inlining the alloc & dtod_copy methods into try_clone.