15 #ifndef HWLOC_MYRIEXPRESS_H 
   16 #define HWLOC_MYRIEXPRESS_H 
   19 #include <hwloc/autogen/config.h> 
   21 #include <myriexpress.h> 
   49 static __hwloc_inline 
int 
   61   if (mx_get_info(NULL, MX_NUMA_NODE, &in, 
sizeof(in), &out, 
sizeof(out)) != MX_SUCCESS) {
 
   66   if (out != (uint32_t) -1) {
 
   93 static __hwloc_inline 
int 
   99   mx_endpoint_addr_t eaddr;
 
  101   if (mx_get_endpoint_addr(endpoint, &eaddr) != MX_SUCCESS) {
 
  106   if (mx_decompose_endpoint_addr(eaddr, &nid, &eid) != MX_SUCCESS) {
 
  111   if (mx_nic_id_to_board_number(nid, &nindex) != MX_SUCCESS) {
 
Structure of a topology object. 
Definition: hwloc.h:331
unsigned os_index
OS-provided physical index number. 
Definition: hwloc.h:334
HWLOC_DECLSPEC int hwloc_topology_is_thissystem(hwloc_topology_t __hwloc_restrict topology) __hwloc_attribute_pure
Does the topology context come from this system? 
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 the MX endpoint endpoint. 
Definition: myriexpress.h:94
hwloc_bitmap_t hwloc_cpuset_t
A CPU set is a bitmap whose bits are set according to CPU physical OS indexes. 
Definition: hwloc.h:116
NUMA node. A set of processors around memory which the processors can directly access. 
Definition: hwloc.h:172
HWLOC_DECLSPEC void hwloc_bitmap_copy(hwloc_bitmap_t dst, hwloc_const_bitmap_t src)
Copy the contents of bitmap src into the already allocated bitmap dst. 
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. 
Definition: myriexpress.h:50
static __hwloc_inline hwloc_const_cpuset_t hwloc_topology_get_complete_cpuset(hwloc_topology_t topology) __hwloc_attribute_pure
Get complete CPU set. 
Definition: helper.h:726
static __hwloc_inline hwloc_obj_t hwloc_get_next_obj_by_type(hwloc_topology_t topology, hwloc_obj_type_t type, hwloc_obj_t prev)
Returns the next object of type type. 
struct hwloc_topology * hwloc_topology_t
Topology context. 
Definition: hwloc.h:577
hwloc_cpuset_t cpuset
CPUs covered by this object. 
Definition: hwloc.h:375