Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] Change bind API.
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2010-03-22 06:43:10

Samuel Thibault wrote:
> Bert Wesarg, le Sun 21 Mar 2010 13:31:14 +0100, a écrit :
>> I would like to propose an interface change for these function, so
>> that the caller provide the to-be-filled cpuset, to reduce the
>> alloc/free frequency.
> This is indeed better (and actually reduces the amount of code in
> hwloc), I have implemented it.

Should we also convert some other functions that previously returned a
newly allocated cpuset ? For instance hwloc_cpuset_from_string and some
helpers in the glibc/libnuma/openfabrics headers