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.
- Parameters:
index (unsigned int) – The index of the target GPU, >= 0 and <
accessibleDevices.- Returns:
Reference in which to return the device handle.
- Return type:
intptr_t
See also
nvmlDeviceGetHandleByIndex_v2