Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] hwloc set membind function
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2011-09-25 07:18:38


Le 25/09/2011 12:41, Gabriele Fatigati a écrit :
>
>
> * doing two set_area_membind on the same entire array is useless, the
> second one will overwrite the first one.
>
> But set_area_membind is for memory in general, not for a particular
> malloc. ( Is it rigth?)

It's for an memory area.

> set_membind done by thread 2 has no reference with malloc(array) done
> by first thread, so why it influence the real allocation of this array?

It doesn't.

Brice