cuda.bindings.nvml.device_get_power_source#

cuda.bindings.nvml.device_get_power_source(intptr_t device) unsigned int#

Gets the devices power source.

Parameters:

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

Returns:

The power source of the device.

Return type:

unsigned int

See also

nvmlDeviceGetPowerSource