---
name: "hwlocality_helper_nodeset"
section: "3"
platform: "linux"
package: "libhwloc-doc"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/hwlocality_helper_nodeset"
---

# hwlocality\_helper\_nodeset(3)

## NAME

Nodeset Helpers -

### Functions

static inline \
 **hwloc\_const\_nodeset\_t** **hwloc\_topology\_get\_complete\_nodeset** (**hwloc\_topology\_t** topology) "\
 static inline \
 **hwloc\_const\_nodeset\_t** **hwloc\_topology\_get\_topology\_nodeset** (**hwloc\_topology\_t** topology) "\
 static inline \
 **hwloc\_const\_nodeset\_t** **hwloc\_topology\_get\_allowed\_nodeset** (**hwloc\_topology\_t** topology) "\

## Function Documentation

### static inline hwloc\_const\_nodeset\_t hwloc\_topology\_get\_allowed\_nodeset (hwloc\_topology\_ttopology)` [static]`

Get allowed node set. **Returns:**

the node set of allowed memory of the system. If the topology is the result of a combination of several systems, NULL is returned.

**Note:**

The returned nodeset is not newly allocated and should thus not be changed or freed, hwloc\_nodeset\_dup must be used to obtain a local copy.

### static inline hwloc\_const\_nodeset\_t hwloc\_topology\_get\_complete\_nodeset (hwloc\_topology\_ttopology)` [static]`

Get complete node set. **Returns:**

the complete node set of memory of the system. If the topology is the result of a combination of several systems, NULL is returned.

**Note:**

The returned nodeset is not newly allocated and should thus not be changed or freed; hwloc\_nodeset\_dup must be used to obtain a local copy.

### static inline hwloc\_const\_nodeset\_t hwloc\_topology\_get\_topology\_nodeset (hwloc\_topology\_ttopology)` [static]`

Get topology node set. **Returns:**

the node set of memory of the system for which hwloc provides topology information. This is equivalent to the nodeset of the system object. If the topology is the result of a combination of several systems, NULL is returned.

**Note:**

The returned nodeset is not newly allocated and should thus not be changed or freed; hwloc\_nodeset\_dup must be used to obtain a local copy.

## Author

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