Re: [hwloc-devel] Pgcc issues fixed?

2009-11-09 Thread Samuel Thibault
Jeff Squyres, le Thu 05 Nov 2009 07:58:58 -0500, a écrit : > This problem may go away if we adapt PLPA's approach to sched_[set| > get]affinity. What I dislike in that approach is that it means we'd have to closely follow future changes in the kernel ABI, while the API is not supposed to change

Re: [hwloc-devel] Pgcc issues fixed?

2009-11-09 Thread Jeff Squyres
On Nov 9, 2009, at 5:12 AM, Samuel Thibault wrote: What I dislike in that approach is that it means we'd have to closely follow future changes in the kernel ABI, while the API is not supposed to change (even if it has in the past). Also, now that glibc provides pthread_setaffinity_np, we

Re: [hwloc-devel] towards PLPA-like API in 1.0

2009-11-09 Thread Brice Goglin
Brice Goglin wrote: > * Probing > > >From what I understand, plpa_have_topology_information() tells whether > PLPA knows what's in the hardware, while plpa_api_probe() tells whether > binding is supported. We could add: > > + hwloc_topology_support(hwloc_topology_t topology, unsigned *support) >