cuda.bindings.nvml.device_get_compute_mode#
- cuda.bindings.nvml.device_get_compute_mode(intptr_t device) int#
Retrieves the current compute mode for the device or MIG device.
- Parameters:
device (intptr_t) – The identifier of the target device handle or MIG device handle.
- Returns:
Reference in which to return the current compute mode.
- Return type:
See also
nvmlDeviceGetComputeMode