Marc-André Hermanns, le Mon 16 Jan 2012 14:01:23 +0100, a écrit :
> hwloc_get_last_cpu_location(topology, cpuset, 0);
> and I am at a total loss on what I should make of this. It seems I am
> doing something fundamentally wrong,
You need to check the value returned by the function:
get_last_cpu_location is currently implemented only on Linux. I don't
think MacOS provides the information.