cuda.bindings.nvml.device_get_module_id#

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

Get a unique identifier for the device module on the baseboard.

This API retrieves a unique identifier for each GPU module that exists on a given baseboard. For non-baseboard products, this ID would always be 0.

Parameters:

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

Returns:

Unique identifier for the GPU module.

Return type:

unsigned int

See also

nvmlDeviceGetModuleId