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.

:param device: The identifier of the target device.
:type device: intptr_t
:param ecc: The target ECC mode.
:type ecc: EnableState

.. seealso:: `nvmlDeviceSetEccMode`