Mm,
Gabriele Fatigati, le Wed 10 Aug 2011 15:41:19 +0200, a écrit :
> hwloc_cpuset_t set = hwloc_bitmap_alloc();Do you mean linear 0 or physical 0?
>
> int return_value = hwloc_get_last_cpu_location(topology, set,
> HWLOC_CPUBIND_THREAD);
>
> printf( " bitmap_string: %s \n", bitmap_string[0]);
>
> give me:
>
> 0x00000800
>
> converted in binary:
>
> 100000000000
>
> So, CPU 0 I suppose,
cpusets are always physical, 0x800 means CPU with physical number 11.
Samuel
_______________________________________________
hwloc-users mailing list
hwloc-users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users