On Oct 21, 2009, at 8:56 AM, Brice Goglin wrote:

> What should we return from hwloc_ibv_get_device_cpuset() if not #ifdef
> LINUX?

I'd say a full cpuset.
Or the full-system cpuset:
   return hwloc_cpuset_dup(hwloc_get_system_obj(topology)->cpuset);
If the latter we'll need to add a topology parameter to
hwloc_ibv_get_device_cpuset()

Oh crud, I missed your last statement about adding a topology parameter, so I didn't add it (i.e., to be fixed pre-final-release).

So how about this:

- make it non-inline
- add the topology parameter

--
Jeff Squyres
jsquy...@cisco.com

Reply via email to