Skip to main content

memcpy_d2h

Function memcpy_d2h 

Source
pub fn memcpy_d2h<T: Copy>(dst: &mut [T], src: DevicePtr) -> CudaRtResult<()>
Expand description

Copy device → host slice (typed helper, no raw pointers).