Gabriele Fatigati, le Wed 10 Aug 2011 09:35:19 +0200, a écrit :
> these lines, doesn't works:> set = hwloc_bitmap_alloc();
> hwloc_get_cpubind(topology, &set, 0);Right, of course.
> hwloc_get_cpubind() crash, because I have to pass set, not &set i suppose.
Well, they don't _have_ to. They provide a different information. It
> I think hwloc_get_last_cpu_location() is used coupled with hwloc_get_cpubind()?
just happens that get_last_cpu_location usually returns an index withing
what get_cpubind returns ("always", if the binding is strict).
hwloc-users mailing list