Functions | |
int | hwloc_get_closest_objs (hwloc_topology_t topology, hwloc_obj_t src, hwloc_obj_t *restrict objs, int max) |
Do a depth-first traversal of the topology to find and sort. |
int hwloc_get_closest_objs | ( | hwloc_topology_t | topology, | |
hwloc_obj_t | src, | |||
hwloc_obj_t *restrict | objs, | |||
int | max | |||
) |
Do a depth-first traversal of the topology to find and sort.
all objects that are at the same depth than src
. Report in objs
up to max
physically closest ones to src
.
objs
.