hwloc\_topology\_membind\_support(3) Library Functions Manual hwloc\_topology\_membind\_support(3)

# [NAME](#NAME)

hwloc\_topology\_membind\_support

# [SYNOPSIS](#SYNOPSIS)

#include &lt;hwloc.h&gt;

## [Data Fields](#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 **nexttouch\_membind**  
unsigned char **migrate\_membind**  
unsigned char **get\_area\_memlocation**  
unsigned char **weighted\_interleave\_membind**

# [Detailed Description](#Detailed_Description)

Flags describing actual memory binding support for this topology.

A flag may be set even if the feature isn't supported in all cases (e.g. binding to random sets of non-contiguous objects).

# [Field Documentation](#Field_Documentation)

## [unsigned char hwloc\_topology\_membind\_support::alloc\_membind](#unsigned_char_hwloc_topology_membind_support::alloc_membind)

Allocating a bound memory area is supported.

## [unsigned char hwloc\_topology\_membind\_support::bind\_membind](#unsigned_char_hwloc_topology_membind_support::bind_membind)

Bind policy is supported.

## [unsigned char hwloc\_topology\_membind\_support::firsttouch\_membind](#unsigned_char_hwloc_topology_membind_support::firsttouch_membind)

First-touch policy is supported.

## [unsigned char hwloc\_topology\_membind\_support::get\_area\_membind](#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\_area\_memlocation](#unsigned_char_hwloc_topology_membind_support::get_area_memlocation)

Getting the last NUMA nodes where a memory area was allocated is supported

## [unsigned char hwloc\_topology\_membind\_support::get\_proc\_membind](#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](#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](#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](#unsigned_char_hwloc_topology_membind_support::interleave_membind)

Interleave policy is supported.

## [unsigned char hwloc\_topology\_membind\_support::migrate\_membind](#unsigned_char_hwloc_topology_membind_support::migrate_membind)

Migration flags is supported.

## [unsigned char hwloc\_topology\_membind\_support::nexttouch\_membind](#unsigned_char_hwloc_topology_membind_support::nexttouch_membind)

Next-touch migration policy is supported.

## [unsigned char hwloc\_topology\_membind\_support::set\_area\_membind](#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](#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](#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](#unsigned_char_hwloc_topology_membind_support::set_thisthread_membind)

Binding the current thread only is supported.

## [unsigned char hwloc\_topology\_membind\_support::weighted\_interleave\_membind](#unsigned_char_hwloc_topology_membind_support::weighted_interleave_membind)

Weighted interleave policy is supported.

# [Author](#Author)

Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.

Version 2.15.0 Hardware Locality (hwloc)

---

Document: hwloc_topology_membind_support(3) from hwloc-cuda-12.6 2.15.0-r0 (Chainguard OS)
Source: https://github.com/open-mpi/hwloc
