cuda.bindings.nvml.device_get_gpu_operation_mode#

cuda.bindings.nvml.device_get_gpu_operation_mode(intptr_t device) tuple#

Retrieves the current GOM and pending GOM (the one that GPU will switch to after reboot).

Parameters:

device (intptr_t) – The identifier of the target device.

Returns:

  • int: Reference in which to return the current GOM.

  • int: Reference in which to return the pending GOM.

Return type:

A 2-tuple containing

See also

nvmlDeviceGetGpuOperationMode