cuda.bindings.nvml.device_get_power_source#

cuda.bindings.nvml.device_get_power_source(intptr_t device) unsigned int#
Gets the devices power source.

:param device: The identifier of the target device.
:type device: intptr_t

:returns: The power source of the device.
:rtype: unsigned int

.. seealso:: `nvmlDeviceGetPowerSource`