Skip to main content

memcpy_h2d

Function memcpy_h2d 

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

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