cuda.bindings.nvml.device_clear_ecc_error_counts#

cuda.bindings.nvml.device_clear_ecc_error_counts(intptr_t device, int counter_type)#

Clear the ECC error and other memory error counts for the device.

For Kepler ™️ or newer fully supported devices. Only applicable to devices with ECC. Requires NVML_INFOROM_ECC version 2.0 or higher to clear aggregate location-based ECC counts. Requires 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 nvmlMemoryErrorType_t for details on available counter types.

Parameters:
  • device (intptr_t) – The identifier of the target device.

  • counter_type (EccCounterType) – Flag that indicates which type of errors should be cleared.

See also

nvmlDeviceClearEccErrorCounts