cuda.bindings.nvml.device_set_ecc_mode#

cuda.bindings.nvml.device_set_ecc_mode(intptr_t device, int ecc)#

Set the ECC mode for the device.

For Kepler ™️ or newer fully supported devices. Only applicable to devices with ECC. Requires NVML_INFOROM_ECC version 1.0 or higher. Requires root/admin permissions. The ECC mode determines whether the GPU enables its ECC support. This operation takes effect after the next reboot. See nvmlEnableState_t for details on available modes.

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

  • ecc (EnableState) – The target ECC mode.

See also

nvmlDeviceSetEccMode