Hello
If you bind a thread to a newset that contains 4 PUs (4 bits), the
operating system scheduler is free to run that thread on any of these
PUs. It means it may run on it on one PU, then migrate it to the other
PU, then migrate it back, etc. If these PUs do not share all caches, you
will see a
Hi,
On cpu binding, hwloc manual says "It is often useful to call
hwloc_bitmap_singlify() first so that a single CPU remains in the set. This
way, the process will not even migrate between different CPUs inside the
given set" . I don't understand it. If I do not do hwloc_bitmap_singlify,
what
This question was addressed offline while the mailing lists were offline.
We had things like hwloc_bitmap_set_ith_ulong() and
hwloc_bitmap_from_ith_ulong() for packing/unpacking but they weren't
very convenient unless you know multiple ulongs are actually needed to
store the bitmap.
We added new
Hello,
Suppose I call hwloc on two MPI ranks and get a bitmap on each. On rank
0, I want to bitwise OR the two. How to do that? I did not find bitmap
APIs to pack/unpack bitmaps to/from ulongs for MPI send/recv purpose.
Thank you.
--Junchao Zhang