cuda.bindings.nvml.device_set_persistence_mode#
- cuda.bindings.nvml.device_set_persistence_mode(intptr_t device, int mode)#
Set the persistence mode for the device. :param device: The identifier of the target device. :type device: intptr_t :param mode: The target persistence mode. :type mode: EnableState .. seealso:: `nvmlDeviceSetPersistenceMode`