cuda.bindings.nvml.device_get_topology_common_ancestor#
- cuda.bindings.nvml.device_get_topology_common_ancestor(
- intptr_t device1,
- intptr_t device2,
Retrieve the common ancestor for two devices For all products. Supported on Linux only.
- Parameters:
device1 (intptr_t) – The identifier of the first device.
device2 (intptr_t) – The identifier of the second device.
- Returns:
A
nvmlGpuTopologyLevel_tthat gives the path type.- Return type:
See also
nvmlDeviceGetTopologyCommonAncestor