cuda.bindings.nvml.device_get_ecc_mode#
- cuda.bindings.nvml.device_get_ecc_mode(intptr_t device) tuple#
Retrieves the current and pending ECC modes for the device. :param device: The identifier of the target device. :type device: intptr_t :returns: - int: Reference in which to return the current ECC mode. - int: Reference in which to return the pending ECC mode. :rtype: A 2-tuple containing .. seealso:: `nvmlDeviceGetEccMode`