hwloc_xml_parser package
Submodules
hwloc_xml_parser.topology module
- class hwloc_xml_parser.topology.Core(*, os_index: int, parent: Object | None = None, element: dataclasses.InitVar[Element])
Bases:
ObjectCore.
- class hwloc_xml_parser.topology.Group(*, os_index: int, parent: Object | None = None, element: dataclasses.InitVar[Element])
Bases:
ObjectGroup, e.g. a cluster.
- class hwloc_xml_parser.topology.Object(*, os_index: int, parent: Object | None = None, element: dataclasses.InitVar[Element])
Bases:
objectBase class for objects (Package, Core, PU, …) that hwloc organizes in a tree.
References:
- element: dataclasses.InitVar[Element]
- class hwloc_xml_parser.topology.PU(*, os_index: int, parent: Object | None = None, element: dataclasses.InitVar[Element])
Bases:
ObjectProcessing unit. The smallest unit of computation represented by hwloc.
- class hwloc_xml_parser.topology.Package(*, os_index: int, parent: Object | None = None, element: dataclasses.InitVar[Element])
Bases:
ObjectPackage. Usually equivalent to a socket.
- class hwloc_xml_parser.topology.SystemTopology(load: bool = True, caches: bool = False, io: bool = False, bridges: bool = False)
Bases:
objectRead the system topology as reported by hwloc’s tool lstopo.