,%1\n\t"
77 "cpuid\n\t"
78 "xchg %%ebx,%1\n\t"
79 : "+a" (*eax), "=" (*ebx), "+c" (*ecx), "=" (*edx));
80 #else
81 #error unknown architecture
82 #endif
83 #endif /* HWLOC_HAVE_MSVC_CPUIDEX */
--Junchao Zhang
___
Hi,
hwloc_set_proc_cpubind() has a pid argument. But how to get the pid
portably? In addition, I want to convert a pid to an integer and then print
it out. Does hwloc has APIs to support the needs?
Thank you.
--Junchao Zhang
___
hwloc-users mailing
a "multiple definition of `hwloc_linux_component'" error when
linking my code. How to fix that?
Thank you.
--Junchao Zhang
___
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users
lify,
what will happen? Suppose a process's old cpu binding is oldset, and I want
to bind it to newset. What should I do to use hwloc_bitmap_singlify?
Thank you.
--Junchao Zhang
___
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.op
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