cuda.bindings.nvml.device_get_memory_error_counter#

cuda.bindings.nvml.device_get_memory_error_counter(
intptr_t device,
int error_type,
int counter_type,
int location_type,
) unsigned long long#

Retrieves the requested memory error counter for the device.

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

  • error_type (MemoryErrorType) – Flag that specifies the type of error.

  • counter_type (EccCounterType) – Flag that specifies the counter-type of the errors.

  • location_type (MemoryLocation) – Specifies the location of the counter.

Returns:

Reference in which to return the ECC counter.

Return type:

unsigned long long

See also

nvmlDeviceGetMemoryErrorCounter