cuda.bindings.nvml.device_on_same_board#

cuda.bindings.nvml.device_on_same_board(intptr_t device1, intptr_t device2) int#

Check if the GPU devices are on the same physical board.

Parameters:
  • device1 (intptr_t) – The first GPU device.

  • device2 (intptr_t) – The second GPU device.

Returns:

Reference in which to return the status. Non-zero indicates that the GPUs are on the same board.

Return type:

int

See also

nvmlDeviceOnSameBoard