|
Backend flags.
Enumerator |
---|
HWLOC_BACKEND_FLAG_NEED_LEVELS |
Levels should be reconnected before this backend discover() is used.
|
Allocate a backend structure, set good default values, initialize backend->component and topology, etc. The caller will then modify whatever needed, and call hwloc_backend_enable().
HWLOC_DECLSPEC int hwloc_backend_enable |
( |
struct hwloc_topology * |
topology, |
|
|
struct hwloc_backend * |
backend |
|
) |
| |
Enable a previously allocated and setup backend.
Used by backends discovery callbacks to request locality information from others.
Traverse the list of enabled backends until one has a get_obj_cpuset() method, and call it.
Used by backends discovery callbacks to notify other backends of new objects.
Traverse the list of enabled backends (all but caller) and invoke their notify_new_object() method to notify them that a new object just got added to the topology.
Currently only used for notifying of new PCI device objects.
|
|
|