Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] processor restriction + lookup of pid for 1.0
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2010-01-30 10:01:28


Samuel Thibault, le Sat 30 Jan 2010 15:55:00 +0100, a écrit :
> > 1) hwloc_topology_from_cpu/membind(pid) (or cpuset as argument) =>
> > restrict topology to given cpu/membind
> > 2) hwloc_topology_get_from_pid(pid) reads both cpu/membind and
> > administrative restrictions from another process instead of current process
>
> No need for these, they'd be contained in the hwloc_topology_set_pid()
> configuration function, which is a more powerful way to do it.

(plus an additional HWLOC_TOPOLOGY_FLAG_CURRENT_BINDING in
hwloc_topology_flags_e, which is the purpose of #12).

Samuel