[][src]Function nvml_binding::bindings::nvmlDeviceGetP2PStatus

pub unsafe extern "C" fn nvmlDeviceGetP2PStatus(
    device1: nvmlDevice_t,
    device2: nvmlDevice_t,
    p2pIndex: nvmlGpuP2PCapsIndex_t,
    p2pStatus: *mut nvmlGpuP2PStatus_t
) -> nvmlReturn_t

Retrieve the status for a given p2p capability index between a given pair of GPU

@param device1 The first device @param device2 The second device @param p2pIndex p2p Capability Index being looked for between \a device1 and \a device2 @param p2pStatus Reference in which to return the status of the \a p2pIndex between \a device1 and \a device2 @return - \ref NVML_SUCCESS if \a p2pStatus has been populated - \ref NVML_ERROR_INVALID_ARGUMENT if \a device1 or \a device2 or \a p2pIndex is invalid or \a p2pStatus is NULL - \ref NVML_ERROR_UNKNOWN on any unexpected error