cuda.bindings.nvml.device_get_index#
- cuda.bindings.nvml.device_get_index(intptr_t device) unsigned int#
Retrieves the NVML index of this device.
- Parameters:
device (intptr_t) – The identifier of the target device.
- Returns:
Reference in which to return the NVML index of the device.
- Return type:
unsigned int
See also
nvmlDeviceGetIndex