pub fn async_copy<T: DeviceCopy>(
    dst: &mut [T],
    src: &[T],
    stream: &Stream
) -> Result<()>
Expand description

Copy a slice using CUDA’s memcpyAsync function.

CUDA infers the type of copy from the underlying pointers. E.g., host-to-host, host-to-device, and so on.