cuda.bindings.nvml.device_get_default_ecc_mode#

cuda.bindings.nvml.device_get_default_ecc_mode(intptr_t device) int#

Retrieves the default ECC modes for the device.

For Fermi ™️ or newer fully supported devices. Only applicable to devices with ECC. Requires NVML_INFOROM_ECC version 1.0 or higher. See nvmlEnableState_t for details on allowed modes.

Parameters:

device (intptr_t) – The identifier of the target device.

Returns:

Reference in which to return the default ECC mode.

Return type:

int

See also

nvmlDeviceGetDefaultEccMode