bgog...@osl.iu.edu, 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

Reply via email to