pub unsafe extern "C" fn hipCtxDisablePeerAccess(
    peerCtx: *mut ihipCtx_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

@returns #hipSuccess, #hipErrorPeerAccessNotEnabled

@see hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice @warning PeerToPeer support is experimental.