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. :param device1: The identifier of the first device. :type device1: intptr_t :param device2: The identifier of the second device. :type device2: intptr_t :returns: A ``nvmlGpuTopologyLevel_t`` that gives the path type. :rtype: int .. seealso:: `nvmlDeviceGetTopologyCommonAncestor`