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

# [NAME](#NAME)

hwloc\_topology\_cpubind\_support

# [SYNOPSIS](#SYNOPSIS)

#include &lt;hwloc.h&gt;

## [Data Fields](#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](#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](#Field_Documentation)

## [unsigned char hwloc\_topology\_cpubind\_support::get\_proc\_cpubind](#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](#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](#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](#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](#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](#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](#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](#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](#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](#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](#unsigned_char_hwloc_topology_cpubind_support::set_thread_cpubind)

Binding a given thread only 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_cpubind_support(3) from hwloc-cuda-12.6 2.15.0-r0 (Chainguard OS)
Source: https://github.com/open-mpi/hwloc
