15 #ifndef HWLOC_MYRIEXPRESS_H
16 #define HWLOC_MYRIEXPRESS_H
19 #include <hwloc/autogen/config.h>
20 #include <hwloc/linux.h>
22 #include <myriexpress.h>
49 if (mx_get_info(NULL, MX_NUMA_NODE, &in, sizeof(in), &out, sizeof(out)) != MX_SUCCESS) {
54 if (out != (uint32_t) -1) {
83 mx_endpoint_addr_t eaddr;
85 if (mx_get_endpoint_addr(endpoint, &eaddr) != MX_SUCCESS) {
90 if (mx_decompose_endpoint_addr(eaddr, &nid, &eid) != MX_SUCCESS) {
95 if (mx_nic_id_to_board_number(nid, &nindex) != MX_SUCCESS) {
|
|