pub unsafe extern "C" fn hipMemcpyPeerAsync(
dst: *mut c_void,
dstDeviceId: c_int,
src: *const c_void,
srcDevice: c_int,
sizeBytes: usize,
stream: hipStream_t,
) -> hipError_t
Expand description
@brief Copies memory from one device to memory on another device.
@param [out] dst - Destination device pointer. @param [in] dstDeviceId - Destination device @param [in] src - Source device pointer @param [in] srcDevice - Source device @param [in] sizeBytes - Size of memory copy in bytes @param [in] stream - Stream identifier
@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidDevice