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.
For Fermi ™️ or newer fully supported devices. Only applicable to devices with ECC. Requires
NVML_INFOROM_ECCversion 1.0 or higher. Changing ECC modes requires a reboot. The “pending” ECC mode refers to the target mode following the next reboot. SeenvmlEnableState_tfor details on allowed modes.- Parameters:
device (intptr_t) – The identifier of the target device.
- Returns:
int: Reference in which to return the current ECC mode.
int: Reference in which to return the pending ECC mode.
- Return type:
A 2-tuple containing
See also
nvmlDeviceGetEccMode