cuda.bindings._v2.driver.ctx_disable_peer_access#
- cuda.bindings._v2.driver.ctx_disable_peer_access(intptr_t peer_context)#
Disables direct access to memory allocations in a peer context and unregisters any registered allocations.
Returns
CUDA_ERROR_PEER_ACCESS_NOT_ENABLEDif direct peer access has not yet been enabled frompeer_contextto the current context. ReturnsCUDA_ERROR_INVALID_CONTEXTif there is no current context, or ifpeer_contextis not a valid context.- Parameters:
peer_context (intptr_t) – Peer context to disable direct access to.
See also
cuCtxDisablePeerAccess