2020-10-31 04:02:14 +08:00
|
|
|
# Copyright 2019-2020 Lawrence Livermore National Security, LLC and other
|
|
|
|
# Archspec Project Developers. See the top-level COPYRIGHT file for details.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
"""The "cpu" package permits to query and compare different
|
|
|
|
CPU microarchitectures.
|
|
|
|
"""
|
2024-05-06 16:20:56 +08:00
|
|
|
from .detect import brand_string, host
|
2024-03-12 16:31:15 +08:00
|
|
|
from .microarchitecture import (
|
|
|
|
TARGETS,
|
2024-05-06 16:20:56 +08:00
|
|
|
InvalidCompilerVersion,
|
2024-03-12 16:31:15 +08:00
|
|
|
Microarchitecture,
|
|
|
|
UnsupportedMicroarchitecture,
|
|
|
|
generic_microarchitecture,
|
|
|
|
version_components,
|
|
|
|
)
|
2020-10-31 04:02:14 +08:00
|
|
|
|
|
|
|
__all__ = [
|
2024-05-06 16:20:56 +08:00
|
|
|
"brand_string",
|
|
|
|
"host",
|
|
|
|
"TARGETS",
|
|
|
|
"InvalidCompilerVersion",
|
2020-10-31 04:02:14 +08:00
|
|
|
"Microarchitecture",
|
|
|
|
"UnsupportedMicroarchitecture",
|
|
|
|
"generic_microarchitecture",
|
|
|
|
"version_components",
|
|
|
|
]
|