cuda.bindings.nvml.device_get_minor_number#

cuda.bindings.nvml.device_get_minor_number(intptr_t device) unsigned int#

Retrieves minor number for the device. The minor number for the device is such that the Nvidia device node file for each GPU will have the form /dev/nvidia[minor number].

Parameters:

device (intptr_t) – The identifier of the target device.

Returns:

Reference in which to return the minor number for the device.

Return type:

unsigned int

See also

nvmlDeviceGetMinorNumber