Discovery component structure.
This is the major kind of components, taking care of the discovery. They are registered by generic components, either statically-built or as plugins.
unsigned hwloc_disc_component::excludes |
Component types to exclude, as an OR'ed set of HWLOC_DISC_COMPONENT_TYPE_*.
For a GLOBAL component, this usually includes all other types (~0).
Other components only exclude types that may bring conflicting topology information. MISC components should likely not be excluded since they usually bring non-primary additional information.
unsigned hwloc_disc_component::priority |
Component priority. Used to sort topology->components, higher priority first. Also used to decide between two components with the same name.
Usual values are 50 for native OS (or platform) components, 45 for x86, 40 for no-OS fallback, 30 for global components (xml/synthetic/custom), 20 for pci, 10 for other misc components (opencl etc.).