pub fn memcpy_d2h<T: Copy>(dst: &mut [T], src: DevicePtr) -> CudaRtResult<()>
Copy device memory to a host slice.
Propagates driver errors.