Open MPI logo

Portable Hardware Locality (hwloc) Documentation: v0.9.1

  |   Home   |   Support   |   FAQ   |  

Finding a single Object covering at least CPU set

Functions

static inline hwloc_obj_t hwloc_get_child_covering_cpuset (hwloc_topology_t topology, hwloc_cpuset_t set, hwloc_obj_t father)
 Get the child covering at least CPU set set.
static inline hwloc_obj_t hwloc_get_obj_covering_cpuset (hwloc_topology_t topology, hwloc_cpuset_t set)
 Get the lowest object covering at least CPU set set.

Function Documentation

static inline hwloc_obj_t hwloc_get_child_covering_cpuset ( hwloc_topology_t  topology,
hwloc_cpuset_t  set,
hwloc_obj_t  father 
) [static]

Get the child covering at least CPU set set.

Returns:
NULL if no child matches.
static inline hwloc_obj_t hwloc_get_obj_covering_cpuset ( hwloc_topology_t  topology,
hwloc_cpuset_t  set 
) [static]

Get the lowest object covering at least CPU set set.

Returns:
NULL if no object matches.