cuda.bindings.nvml.device_get_board_id#

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

Retrieves the device boardId from 0-N. Devices with the same boardId indicate GPUs connected to the same PLX. Use in conjunction with device_get_multi_gpu_board() to decide if they are on the same board as well. The boardId returned is a unique ID for the current configuration. Uniqueness and ordering across reboots and system configurations is not guaranteed (i.e. if a Tesla K40c returns 0x100 and the two GPUs on a Tesla K10 in the same system returns 0x200 it is not guaranteed they will always return those values but they will always be different from each other).

Parameters:

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

Returns:

Reference in which to return the device’s board ID.

Return type:

unsigned int

See also

nvmlDeviceGetBoardId