pub unsafe extern "C" fn hipMemcpyWithStream(
dst: *mut c_void,
src: *const c_void,
sizeBytes: usize,
kind: hipMemcpyKind,
stream: hipStream_t,
) -> hipError_tExpand description
@brief Memory copy on the stream. It allows single or multiple devices to do memory copy on single or multiple streams. The operation is akin to hipMemcpyAsync + hipStreamSynchronize. Since it is a sync API, it is not allowed during graph capture.
@param[out] dst Data being copy to @param[in] src Data being copy from @param[in] sizeBytes Data size in bytes @param[in] kind Kind of transfer @param[in] stream Valid stream @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorUnknown, #hipErrorContextIsDestroyed
@see hipMemcpy, hipStreamCreate, hipStreamSynchronize, hipStreamDestroy, hipSetDevice, hipLaunchKernelGGL