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.

:param device: The identifier of the target device.
:type device: intptr_t
:param error_type: Flag that specifies the type of error.
:type error_type: MemoryErrorType
:param counter_type: Flag that specifies the counter-type of the errors.
:type counter_type: EccCounterType
:param location_type: Specifies the location of the counter.
:type location_type: MemoryLocation

:returns: Reference in which to return the ECC counter.
:rtype: unsigned long long

.. seealso:: `nvmlDeviceGetMemoryErrorCounter`