[hwloc-users] Finding closest host bridge

2014-01-28 Thread Rolf vandeVaart
I cam up with this snippet of code so I could find the PCI devices closest to where a process was running. This works fine on a NUMA node. However, on a non-NUMA node, it appears that the HWLOC bridge is not connected to anything. Therefore, I believe I just need to do something like hwloc_g

[hwloc-users] Single hwloc.h header files that work on linux and windows

2013-01-03 Thread Rolf vandeVaart
I have an application is supposed to work with both windows and linux. To that end, I downloaded hwloc, configured and then included the hwloc header files in my application. I dynamically load the libhwloc.so library and map the functions I need. If libhwloc.so is not there, then I can stil