pub fn device_enable_peer_access(
peer_device: u32,
flags: u32,
) -> CudaRtResult<()>Expand description
Enable peer access from the current context to the context owning peer_device.
Mirrors cudaDeviceEnablePeerAccess.
§Errors
CudaRtError::PeerAccessUnsupported— link does not support peer access.CudaRtError::PeerAccessAlreadyEnabled— already enabled.- Other driver errors.