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>
54 if (mx_get_info(NULL, MX_NUMA_NODE, &in, sizeof(in), &out, sizeof(out)) != MX_SUCCESS) {
59 if (out != (uint32_t) -1) {
88 mx_endpoint_addr_t eaddr;
90 if (mx_get_endpoint_addr(endpoint, &eaddr) != MX_SUCCESS) {
95 if (mx_decompose_endpoint_addr(eaddr, &nid, &eid) != MX_SUCCESS) {
100 if (mx_nic_id_to_board_number(nid, &nindex) != MX_SUCCESS) {
|
|