Function rcudnn_sys::cudaDeviceDisablePeerAccess[][src]

pub unsafe extern "C" fn cudaDeviceDisablePeerAccess(
    peerDevice: c_int
) -> cudaError_t
Expand description

\brief Disables direct access to memory allocations on a peer device.

Returns ::cudaErrorPeerAccessNotEnabled if direct access to memory on \p peerDevice has not yet been enabled from the current device.

\param peerDevice - Peer device to disable direct access to

\return ::cudaSuccess, ::cudaErrorPeerAccessNotEnabled, ::cudaErrorInvalidDevice \notefnerr \note_init_rt \note_callback

\sa ::cudaDeviceCanAccessPeer, ::cudaDeviceEnablePeerAccess, ::cuCtxDisablePeerAccess