cuda.bindings.nvml.device_get_accounting_mode#
- cuda.bindings.nvml.device_get_accounting_mode(intptr_t device) int#
Queries the state of per process accounting mode.
For Kepler ™️ or newer fully supported devices. See
nvmlDeviceGetAccountingStatsfor more details. SeenvmlDeviceSetAccountingMode.- Parameters:
device (intptr_t) – The identifier of the target device.
- Returns:
Reference in which to return the current accounting mode.
- Return type:
Note
In the MPS locality-domain view, this API returns the physical parent’s accounting mode as reported by MPS. See
MPS Locality Domain Device Enumeration.See also
nvmlDeviceGetAccountingMode