[][src]Function nvml_binding::bindings::nvmlDeviceResetNvLinkErrorCounters

pub unsafe extern "C" fn nvmlDeviceResetNvLinkErrorCounters(
    device: nvmlDevice_t,
    link: c_uint
) -> nvmlReturn_t

Resets all error counters to zero Please refer to \a nvmlNvLinkErrorCounter_t for the list of error counters that are reset

For Pascal &tm; or newer fully supported devices.

@param device The identifier of the target device @param link Specifies the NvLink link to be queried

@return - \ref NVML_SUCCESS if the reset is successful - \ref NVML_ERROR_UNINITIALIZED if the library has not been successfully initialized - \ref NVML_ERROR_INVALID_ARGUMENT if \a device or \a link is invalid - \ref NVML_ERROR_NOT_SUPPORTED if the device doesn't support this feature - \ref NVML_ERROR_UNKNOWN on any unexpected error