Class Topology

class Topology

Topology class.

This class is responsible for managing the topology of the system. Internally, it uses hwloc library to get the topology information.

Public Functions

Topology()

virtual ~Topology()

int load()

Load the topology.

Returns

The error code

void *context() const

Get the pointer to the topology object.

Returns

The pointer to the topology object

Protected Attributes

void *context_ = nullptr

The pointer to the topology object.

Previous Class Timer
Next Class Transmitter
© Copyright 2022-2023, NVIDIA. Last updated on Feb 16, 2024.