---
name: "hwloc_topology_membind_support"
section: "3"
platform: "linux"
package: "hwloc"
version: "2.15.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/hwloc_topology_membind_support"
---

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

## 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

### 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\_area\_memlocation

Getting the last NUMA nodes where a memory area was allocated 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::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.

### unsigned char hwloc\_topology\_membind\_support::weighted\_interleave\_membind

Weighted interleave policy is supported.

## Author

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