hwlocality_creation(3) | Hardware Locality (hwloc) | hwlocality_creation(3) |
hwlocality_creation
typedef struct hwloc_topology * hwloc_topology_t
int hwloc_topology_init (hwloc_topology_t
*topologyp)
int hwloc_topology_load (hwloc_topology_t topology)
void hwloc_topology_destroy (hwloc_topology_t topology)
int hwloc_topology_dup (hwloc_topology_t *newtopology,
hwloc_topology_t oldtopology)
void hwloc_topology_check (hwloc_topology_t topology)
Topology context. To be initialized with hwloc_topology_init() and built with hwloc_topology_load().
Run internal checks on a topology structure. The program aborts if an inconsistency is detected in the given topology.
Parameters:
Note:
The input topology should have been previously loaded with hwloc_topology_load().
Terminate and free a topology context.
Parameters:
Duplicate a topology. The entire topology structure as well as its objects are duplicated into a new one.
This is useful for keeping a backup while modifying a topology.
Note:
Allocate a topology context.
Parameters:
Returns:
Build the actual topology. Build the actual topology once initialized with hwloc_topology_init() and tuned with Topology Detection Configuration and Query routines. No other routine may be called earlier using this topology context.
Parameters:
Returns:
Note:
This function may be called only once per topology.
The binding of the current thread or process may temporarily change during this call but it will be restored before it returns.
See also:
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
Fri Feb 8 2019 | Version 1.11.12 |