Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] [hwloc-svn] svn:hwloc r1333
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2009-11-11 16:34:19


bgoglin_at_[hidden], le Wed 11 Nov 2009 11:33:31 -0500, a écrit :
> + /* FIXME: should be SET_THREAD_CPUBIND given with a pid */
> + if (flags & HWLOC_SUPPORT_SET_PROC_CPUBIND)
> + *api_type = HWLOC_PLPA_PROBE_OK;
> + else
> + *api_type = HWLOC_PLPA_PROBE_NOT_SUPPORTED;
> + return 0;
> +}

Just to refine my thoughts: providing the interface but accepting only
pid 0 (i.e. "self") is however portability-wise ok and can already be
mapped to the current hwloc interface.

Samuel