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.

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

  • mode (EnableState) – The target persistence mode.

See also

nvmlDeviceSetPersistenceMode