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 r2339
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2010-07-17 05:47:34


bgoglin_at_[hidden], le Sat 17 Jul 2010 05:05:46 -0400, a écrit :
> +/** \brief Bind current process memory on memory nodes near the given cpuset \p set
> + *
> + * \return ENOSYS if the action is not supported
> + * \return EXDEV if the binding cannot be enforced
> + */
> +HWLOC_DECLSPEC int hwloc_set_membind(hwloc_topology_t topology, hwloc_const_cpuset_t set, int policy);
> +
> +/** \brief Get current process memory binding
> + */
> +HWLOC_DECLSPEC int hwloc_get_membind(hwloc_topology_t topology, hwloc_cpuset_t set, int * policy);
> +
> +

Mmm, I wouldn't have thought of providing the places by giving a cpuset.
Why not using nodesets?

Samuel