Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hwloc_topology_membind_support(3) [debian man page]

hwloc_topology_membind_support(3)			     Hardware Locality (hwloc)				 hwloc_topology_membind_support(3)

NAME
hwloc_topology_membind_support - SYNOPSIS
#include <hwloc.h> Data Fields unsigned char set_thisproc_membind unsigned char get_thisproc_membind unsigned char set_proc_membind unsigned char get_proc_membind unsigned char set_thisthread_membind unsigned char get_thisthread_membind unsigned char set_area_membind unsigned char get_area_membind unsigned char alloc_membind unsigned char firsttouch_membind unsigned char bind_membind unsigned char interleave_membind unsigned char replicate_membind unsigned char nexttouch_membind unsigned char migrate_membind Detailed Description Flags describing actual memory binding support for this topology. Field Documentation unsigned char hwloc_topology_membind_support::alloc_membind Allocating a bound memory area is supported. unsigned char hwloc_topology_membind_support::bind_membind Bind policy is supported. unsigned char hwloc_topology_membind_support::firsttouch_membind First-touch policy is supported. unsigned char hwloc_topology_membind_support::get_area_membind Getting the binding of a given memory area is supported. unsigned char hwloc_topology_membind_support::get_proc_membind Getting the binding of a whole given process is supported. unsigned char hwloc_topology_membind_support::get_thisproc_membind Getting the binding of the whole current process is supported. unsigned char hwloc_topology_membind_support::get_thisthread_membind Getting the binding of the current thread only is supported. unsigned char hwloc_topology_membind_support::interleave_membind Interleave policy is supported. unsigned char hwloc_topology_membind_support::migrate_membind Migration flags is supported. unsigned char hwloc_topology_membind_support::nexttouch_membind Next-touch migration policy is supported. unsigned char hwloc_topology_membind_support::replicate_membind Replication policy is supported. unsigned char hwloc_topology_membind_support::set_area_membind Binding a given memory area is supported. unsigned char hwloc_topology_membind_support::set_proc_membind Binding a whole given process is supported. unsigned char hwloc_topology_membind_support::set_thisproc_membind Binding the whole current process is supported. unsigned char hwloc_topology_membind_support::set_thisthread_membind Binding the current thread only is supported. Author Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Version 1.4.1 Mon Feb 27 2012 hwloc_topology_membind_support(3)

Check Out this Related Man Page

Binding Helpers(3)					     Hardware Locality (hwloc)						Binding Helpers(3)

NAME
Binding Helpers - Functions static inline void hwloc_distributev (hwloc_topology_t topology, hwloc_obj_t *root, unsigned n_roots, hwloc_cpuset_t *cpuset, unsigned n, unsigned until) static inline void hwloc_distribute (hwloc_topology_t topology, hwloc_obj_t root, hwloc_cpuset_t *cpuset, unsigned n, unsigned until) static inline void * hwloc_alloc_membind_policy_nodeset (hwloc_topology_t topology, size_t len, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) static inline void * hwloc_alloc_membind_policy (hwloc_topology_t topology, size_t len, hwloc_const_cpuset_t cpuset, hwloc_membind_policy_t policy, int flags) Function Documentation static inline void* hwloc_alloc_membind_policy (hwloc_topology_ttopology, size_tlen, hwloc_const_cpuset_tcpuset, hwloc_membind_policy_tpolicy, intflags) [static] Allocate some memory on the memory nodes near given cpuset cpuset. This is similar to hwloc_alloc_membind_policy_nodeset, but for a given cpuset. static inline void* hwloc_alloc_membind_policy_nodeset (hwloc_topology_ttopology, size_tlen, hwloc_const_nodeset_tnodeset, hwloc_membind_policy_tpolicy, intflags) [static] Allocate some memory on the given nodeset nodeset. This is similar to hwloc_alloc_membind except that it is allowed to change the current memory binding policy, thus providing more binding support, at the expense of changing the current state. static inline void hwloc_distribute (hwloc_topology_ttopology, hwloc_obj_troot, hwloc_cpuset_t *cpuset, unsignedn, unsigneduntil) [static] static inline void hwloc_distributev (hwloc_topology_ttopology, hwloc_obj_t *roots, unsignedn_roots, hwloc_cpuset_t *cpuset, unsignedn, unsigneduntil) [static] Distribute n items over the topology under root. Distribute n items over the topology under roots. Array cpuset will be filled with n cpusets recursively distributed linearly over the topology under root, down to depth until (which can be INT_MAX to distribute down to the finest level). This is typically useful when an application wants to distribute n threads over a machine, giving each of them as much private cache as possible and keeping them locally in number order. The caller may typically want to also call hwloc_bitmap_singlify() before binding a thread so that it does not move at all. Note: This function requires the root object to have a CPU set. This is the same as hwloc_distribute, but takes an array of roots instead of just one root. Note: This function requires the roots objects to have a CPU set. Author Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Version 1.4.1 Mon Feb 27 2012 Binding Helpers(3)
Man Page