OpenMPI  0.1.1
Myrinet Express-Specific Functions

Functions

static __hwloc_inline int hwloc_mx_board_get_device_cpuset (hwloc_topology_t topology, unsigned id, hwloc_cpuset_t set)
 Get the CPU set of logical processors that are physically close the MX board id. More...
 
static __hwloc_inline int hwloc_mx_endpoint_get_device_cpuset (hwloc_topology_t topology, mx_endpoint_t endpoint, hwloc_cpuset_t set)
 Get the CPU set of logical processors that are physically close to endpoint endpoint. More...
 

Detailed Description

Function Documentation

static __hwloc_inline int hwloc_mx_board_get_device_cpuset ( hwloc_topology_t  topology,
unsigned  id,
hwloc_cpuset_t  set 
)
static

Get the CPU set of logical processors that are physically close the MX board id.

For the given Myrinet Express board index id, read the OS-provided NUMA node and return the corresponding CPU set.

References hwloc_obj::cpuset, hwloc_bitmap_copy(), hwloc_get_next_obj_by_type(), HWLOC_OBJ_NODE, hwloc_topology_get_complete_cpuset(), and hwloc_obj::os_index.

Referenced by hwloc_mx_endpoint_get_device_cpuset().

static __hwloc_inline int hwloc_mx_endpoint_get_device_cpuset ( hwloc_topology_t  topology,
mx_endpoint_t  endpoint,
hwloc_cpuset_t  set 
)
static

Get the CPU set of logical processors that are physically close to endpoint endpoint.

For the given Myrinet Express endpoint endpoint, read the OS-provided NUMA node and return the corresponding CPU set.

References hwloc_mx_board_get_device_cpuset().