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

Reply via email to