Open MPI logo

Portable Hardware Locality (hwloc) Documentation: v1.1

  |   Home   |   Support   |   FAQ   |  

Object sets

Typedefs

typedef hwloc_bitmap_t hwloc_cpuset_t
 A CPU set is a bitmap whose bits are set according to CPU physical OS indexes.
typedef hwloc_const_bitmap_t hwloc_const_cpuset_t
 A non-modifiable hwloc_cpuset_t.
typedef hwloc_bitmap_t hwloc_nodeset_t
 A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes.
typedef hwloc_const_bitmap_t hwloc_const_nodeset_t
 A non-modifiable hwloc_nodeset_t.

Typedef Documentation

A CPU set is a bitmap whose bits are set according to CPU physical OS indexes.

It may be consulted and modified with the bitmap API as any hwloc_bitmap_t (see hwloc/bitmap.h).

A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes.

It may be consulted and modified with the bitmap API as any hwloc_bitmap_t (see hwloc/bitmap.h).

When binding memory on a system without any NUMA node (when the whole memory is considered as a single memory bank), the nodeset may be either empty (no memory selected) or full (whole system memory selected).

See also Conversion between cpuset and nodeset.