Re: [hwloc-users] binding to thread

2014-09-29 Thread Brice Goglin
Le 29/09/2014 19:01, Aulwes, Rob a écrit : > Hi, > > I'm trying to allocate and bind memory on the same NUMA domain as the > calling thread. The code I use is as follows. > > /* retrieve the single PU where the current thread actually > runs within this process binding */ > > > i

[hwloc-users] binding to thread

2014-09-29 Thread Aulwes, Rob
Hi, I'm trying to allocate and bind memory on the same NUMA domain as the calling thread. The code I use is as follows. /* retrieve the single PU where the current thread actually runs within this process binding */ int err = hwloc_get_last_cpu_location(topo, set, HWLOC_C