cuda.bindings.nvml.get_excluded_device_info_by_index#
- cuda.bindings.nvml.get_excluded_device_info_by_index(unsigned int index)#
Acquire the device information for an excluded GPU device, based on its index.
For all products. Valid indices are derived from the
deviceCountreturned byget_excluded_device_count(). For example, ifdeviceCountis 2 the valid indices are 0 and 1, corresponding to GPU 0 and GPU 1.- Parameters:
index (unsigned int) – The index of the target GPU, >= 0 and <
deviceCount.- Returns:
- Reference in which to return the device
information.
- Return type:
nvmlExcludedDeviceInfo_t
See also
nvmlGetExcludedDeviceInfoByIndex