CUresult cuCtxDisablePeerAccess ( CUcontext  peerContext  ) 

Returns CUDA_ERROR_PEER_ACCESS_NOT_ENABLED if direct peer access has not yet been enabled from peerContext to the current context.

Returns CUDA_ERROR_INVALID_CONTEXT if there is no current context, or if peerContext is not a valid context.

Parameters:
peerContext - Peer context to disable direct access to
Returns:
CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_PEER_ACCESS_NOT_ENABLED, CUDA_ERROR_INVALID_CONTEXT,
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuDeviceCanAccessPeer, cuCtxEnablePeerAccess


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA