pub unsafe extern "C" fn hipCtxDisablePeerAccess(
peerCtx: hipCtx_t,
) -> hipError_t
Expand description
@brief Disable direct access from current context’s virtual address space to memory allocations physically located on a peer context.Disables direct access to memory allocations in a peer context and unregisters any registered allocations.
Returns #hipErrorPeerAccessNotEnabled if direct access to memory on peerDevice has not yet been enabled from the current device.
@param [in] peerCtx Peer context to be disabled
@returns #hipSuccess, #hipErrorPeerAccessNotEnabled
@see hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice @warning PeerToPeer support is experimental.
@warning This API is deprecated on the AMD platform, only for equivalent cuCtx driver API on the NVIDIA platform.