pub unsafe fn cuda_memcpy<const SRC_DEVICE: bool, const DST_DEVICE: bool>(
dst: *mut c_void,
src: *const c_void,
size_bytes: usize,
) -> Result<(), MemCopyError>Expand description
FFI binding for the cudaMemcpyAsync function on the default cuda stream.
ยงSafety
Must follow the rules of the cudaMemcpyAsync function from the CUDA runtime API.