On 12/22/2010 01:50 PM, Guy Streeter wrote:
> I'm using 1.1 on Fedora 13. I start with
>
> set = hwloc_bitmap_alloc_full()
>
> and it looks like
>
> 0xf...f
>
> Then I call
>
> hwloc_bitmap_from_ith_ulong(set, 1, 0xdeadbeef)
>
> and I get
>
> 0xdeadbeef,0x00000034,0x3f77aed8
>
> which I don't understand.
> Example code is attached.
>
> thanks,
> --Guy
hwloc_bitmap_set_ith_ulong() seems to behave in a similar way.
full: 0xf...f
ith: 0xf...f,,0xdeadbeef,0xffffffff,0xffffffff
Example attached.
thanks,
--Guy
- text/x-csrc attachment: try2.c
|