cuda.bindings.nvml.device_get_handle_by_index_v2#

cuda.bindings.nvml.device_get_handle_by_index_v2(unsigned int index) intptr_t#
Acquire the handle for a particular device, based on its index.

:param index: The index of the target GPU, >= 0 and < ``accessibleDevices``.
:type index: unsigned int

:returns: Reference in which to return the device handle.
:rtype: intptr_t

.. seealso:: `nvmlDeviceGetHandleByIndex_v2`