---
name: "hwloc_topology_cpubind_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_cpubind_support"
---

# hwloc\_topology\_cpubind\_support(3)

## NAME

hwloc\_topology\_cpubind\_support

## SYNOPSIS

\#include \<hwloc.h\>

### Data Fields

unsigned char **set\_thisproc\_cpubind**\
 unsigned char **get\_thisproc\_cpubind**\
 unsigned char **set\_proc\_cpubind**\
 unsigned char **get\_proc\_cpubind**\
 unsigned char **set\_thisthread\_cpubind**\
 unsigned char **get\_thisthread\_cpubind**\
 unsigned char **set\_thread\_cpubind**\
 unsigned char **get\_thread\_cpubind**\
 unsigned char **get\_thisproc\_last\_cpu\_location**\
 unsigned char **get\_proc\_last\_cpu\_location**\
 unsigned char **get\_thisthread\_last\_cpu\_location**\

## Detailed Description

Flags describing actual PU 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\_cpubind\_support::get\_proc\_cpubind

Getting the binding of a whole given process is supported.

### unsigned char hwloc\_topology\_cpubind\_support::get\_proc\_last\_cpu\_location

Getting the last processors where a whole process ran is supported

### unsigned char hwloc\_topology\_cpubind\_support::get\_thisproc\_cpubind

Getting the binding of the whole current process is supported.

### unsigned char hwloc\_topology\_cpubind\_support::get\_thisproc\_last\_cpu\_location

Getting the last processors where the whole current process ran is supported

### unsigned char hwloc\_topology\_cpubind\_support::get\_thisthread\_cpubind

Getting the binding of the current thread only is supported.

### unsigned char hwloc\_topology\_cpubind\_support::get\_thisthread\_last\_cpu\_location

Getting the last processors where the current thread ran is supported

### unsigned char hwloc\_topology\_cpubind\_support::get\_thread\_cpubind

Getting the binding of a given thread only is supported.

### unsigned char hwloc\_topology\_cpubind\_support::set\_proc\_cpubind

Binding a whole given process is supported.

### unsigned char hwloc\_topology\_cpubind\_support::set\_thisproc\_cpubind

Binding the whole current process is supported.

### unsigned char hwloc\_topology\_cpubind\_support::set\_thisthread\_cpubind

Binding the current thread only is supported.

### unsigned char hwloc\_topology\_cpubind\_support::set\_thread\_cpubind

Binding a given thread only is supported.

## Author

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