cuda.bindings.nvml.device_get_index#

cuda.bindings.nvml.device_get_index(intptr_t device) unsigned int#
Retrieves the NVML index of this device.

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

:returns: Reference in which to return the NVML index of the device.
:rtype: unsigned int

.. seealso:: `nvmlDeviceGetIndex`