hwlocality_object_types(3) | Hardware Locality (hwloc) | hwlocality_object_types(3) |
hwlocality_object_types - Object Types
#define HWLOC_TYPE_UNORDERED
typedef enum hwloc_obj_cache_type_e
hwloc_obj_cache_type_t
typedef enum hwloc_obj_bridge_type_e hwloc_obj_bridge_type_t
typedef enum hwloc_obj_osdev_type_e hwloc_obj_osdev_type_t
enum hwloc_obj_type_t { HWLOC_OBJ_MACHINE,
HWLOC_OBJ_PACKAGE, HWLOC_OBJ_CORE, HWLOC_OBJ_PU,
HWLOC_OBJ_L1CACHE, HWLOC_OBJ_L2CACHE,
HWLOC_OBJ_L3CACHE, HWLOC_OBJ_L4CACHE,
HWLOC_OBJ_L5CACHE, HWLOC_OBJ_L1ICACHE,
HWLOC_OBJ_L2ICACHE, HWLOC_OBJ_L3ICACHE,
HWLOC_OBJ_GROUP, HWLOC_OBJ_NUMANODE, HWLOC_OBJ_BRIDGE,
HWLOC_OBJ_PCI_DEVICE, HWLOC_OBJ_OS_DEVICE,
HWLOC_OBJ_MISC, HWLOC_OBJ_MEMCACHE, HWLOC_OBJ_DIE,
HWLOC_OBJ_TYPE_MAX }
enum hwloc_obj_cache_type_e { HWLOC_OBJ_CACHE_UNIFIED,
HWLOC_OBJ_CACHE_DATA, HWLOC_OBJ_CACHE_INSTRUCTION }
enum hwloc_obj_bridge_type_e { HWLOC_OBJ_BRIDGE_HOST,
HWLOC_OBJ_BRIDGE_PCI }
enum hwloc_obj_osdev_type_e { HWLOC_OBJ_OSDEV_BLOCK,
HWLOC_OBJ_OSDEV_GPU, HWLOC_OBJ_OSDEV_NETWORK,
HWLOC_OBJ_OSDEV_OPENFABRICS, HWLOC_OBJ_OSDEV_DMA,
HWLOC_OBJ_OSDEV_COPROC }
int hwloc_compare_types (hwloc_obj_type_t type1,
hwloc_obj_type_t type2)
Value returned by hwloc_compare_types() when types can not be compared.
Type of one side (upstream or downstream) of an I/O bridge.
Cache type.
Type of a OS device.
Type of one side (upstream or downstream) of an I/O bridge.
Enumerator
Cache type.
Enumerator
Type of a OS device.
Enumerator
Type of topology object.
Note
Enumerator
Objects of this kind are always reported and can thus be used as fallback when others are not.
There is always at least one such object in the topology even if the machine is not NUMA.
Memory objects are not listed in the main children list, but rather in the dedicated Memory children list.
NUMA nodes have a special depth HWLOC_TYPE_DEPTH_NUMANODE instead of a normal depth just like other objects in the main tree.
I/O objects are not listed in the main children list, but rather in the dedicated io children list. I/O objects have NULL CPU and node sets.
I/O objects are not listed in the main children list, but rather in the dedicated io children list. I/O objects have NULL CPU and node sets.
I/O objects are not listed in the main children list, but rather in the dedicated io children list. I/O objects have NULL CPU and node sets.
These objects are not listed in the main children list, but rather in the dedicated misc children list. Misc objects may only have Misc objects as children, and those are in the dedicated misc children list as well. Misc objects have NULL CPU and node sets.
Memory objects are not listed in the main children list, but rather in the dedicated Memory children list.
Memory-side cache have a special depth HWLOC_TYPE_DEPTH_MEMCACHE instead of a normal depth just like other objects in the main tree.
Compare the depth of two object types. Types shouldn't be compared as they are, since newer ones may be added in the future. This function returns less than, equal to, or greater than zero respectively if type1 objects usually include type2 objects, are the same as type2 objects, or are included in type2 objects. If the types can not be compared (because neither is usually contained in the other), HWLOC_TYPE_UNORDERED is returned. Object types containing CPUs can always be compared (usually, a system contains machines which contain nodes which contain packages which contain caches, which contain cores, which contain processors).
Note
This does not mean that the actual topology will respect that order: e.g. as of today cores may also contain caches, and packages may also contain nodes. This is thus just to be seen as a fallback comparison method.
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
Wed Dec 14 2022 | Version 2.9.0 |