cuda.bindings.nvml.device_get_persistence_mode#
- cuda.bindings.nvml.device_get_persistence_mode(intptr_t device) int#
Retrieves the persistence mode associated with this device.
For all products. For Linux only. When driver persistence mode is enabled the driver software state is not torn down when the last client disconnects. By default this feature is disabled. See
nvmlEnableState_tfor details on allowed modes.- Parameters:
device (intptr_t) – The identifier of the target device.
- Returns:
- Reference in which to return the current driver persistence
mode.
- Return type:
See also
nvmlDeviceGetPersistenceMode