docs: def nvmlDeviceClearEccErrorCounts(handle, counterType):
      r"""
      /**
       * Clear the ECC error and other memory error counts for the device.
       *
       * For Kepler &tm; or newer fully supported devices.
       * Only applicable to devices with ECC.
       * Requires \a NVML_INFOROM_ECC version 2.0 or higher to clear aggregate location-based ECC counts.
       * Requires \a NVML_INFOROM_ECC version 1.0 or higher to clear all other ECC counts.
       * Requires root/admin permissions.
       * Requires ECC Mode to be enabled.
       *
       * Sets all of the specified ECC counters to 0, including both detailed and total counts.
       *
       * This operation takes effect immediately.
       *
       * See \ref nvmlMemoryErrorType_t for details on available counter types.
       *
       * @param device                               The identifier of the target device
       * @param counterType                          Flag that indicates which type of errors should be cleared.
       *
       * @return
       *         - \ref NVML_SUCCESS                 if the error counts were cleared
       *         - \ref NVML_ERROR_UNINITIALIZED     if the library has not been successfully initialized
       *         - \ref NVML_ERROR_INVALID_ARGUMENT  if \a device is invalid or \a counterType is invalid
       *         - \ref NVML_ERROR_NOT_SUPPORTED     if the device does not support this feature
       *         - \ref NVML_ERROR_NO_PERMISSION     if the user doesn't have permission to perform this operation
       *         - \ref NVML_ERROR_GPU_IS_LOST       if the target GPU has fallen off the bus or is otherwise inaccessible
       *         - \ref NVML_ERROR_UNKNOWN           on any unexpected error
       *
       * @see
       *      - nvmlDeviceGetDetailedEccErrors()
       *      - nvmlDeviceGetTotalEccErrors()
       */
      nvmlReturn_t DECLDIR nvmlDeviceClearEccErrorCounts
      """
      fn = _nvmlGetFunctionPointer("nvmlDeviceClearEccErrorCounts")
      ret = fn(handle, _nvmlEccCounterType_t(counterType))
      _nvmlCheckReturn(ret)
      return None