15 #ifndef HWLOC_MYRIEXPRESS_H
16 #define HWLOC_MYRIEXPRESS_H
19 #include <hwloc/autogen/config.h>
21 #include <myriexpress.h>
45 static __hwloc_inline int
57 if (mx_get_info(NULL, MX_NUMA_NODE, &in, sizeof(in), &out, sizeof(out)) != MX_SUCCESS) {
62 if (out != (uint32_t) -1) {
89 static __hwloc_inline int
95 mx_endpoint_addr_t eaddr;
97 if (mx_get_endpoint_addr(endpoint, &eaddr) != MX_SUCCESS) {
102 if (mx_decompose_endpoint_addr(eaddr, &nid, &eid) != MX_SUCCESS) {
107 if (mx_nic_id_to_board_number(nid, &nindex) != MX_SUCCESS) {
|
|