pub unsafe extern "C" fn cuMemcpyPeer(
dstDevice: CUdeviceptr,
dstContext: CUcontext,
srcDevice: CUdeviceptr,
srcContext: CUcontext,
ByteCount: usize,
) -> CUresult
Expand description
\brief Copies device memory between two contexts
Copies from device memory in one context to device memory in another context. \p dstDevice is the base device pointer of the destination memory and \p dstContext is the destination context. \p srcDevice is the base device pointer of the source memory and \p srcContext is the source pointer. \p ByteCount specifies the number of bytes to copy.
\param dstDevice - Destination device pointer \param dstContext - Destination context \param srcDevice - Source device pointer \param srcContext - Source context \param ByteCount - Size of memory copy in bytes
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE \notefnerr \note_sync
\sa ::cuMemcpyDtoD, ::cuMemcpy3DPeer, ::cuMemcpyDtoDAsync, ::cuMemcpyPeerAsync, ::cuMemcpy3DPeerAsync, ::cudaMemcpyPeer