CPU identity and the SIMD feature flags that matter for kernel dispatch.
More...
#include <system_info.hpp>
|
| std::string | brand |
| | marketing brand string, e.g. "AMD Ryzen 9 8945HS"
|
| std::string | vendor |
| | "GenuineIntel", "AuthenticAMD", or "" if unknown
|
| std::string | arch |
| | "x86_64", "aarch64", ...
|
| unsigned | logical_cores = 0 |
| bool | sse2 = false |
| bool | avx = false |
| bool | avx2 = false |
| bool | fma = false |
| bool | avx512f = false |
CPU identity and the SIMD feature flags that matter for kernel dispatch.
logical_cores is the number of hardware threads the OS exposes; physical core / P-E topology is not portably derivable and stays out of scope here.
◆ arch
| std::string mtl::util::cpu_info::arch |
◆ avx
| bool mtl::util::cpu_info::avx = false |
◆ avx2
| bool mtl::util::cpu_info::avx2 = false |
◆ avx512f
| bool mtl::util::cpu_info::avx512f = false |
◆ brand
| std::string mtl::util::cpu_info::brand |
marketing brand string, e.g. "AMD Ryzen 9 8945HS"
◆ fma
| bool mtl::util::cpu_info::fma = false |
◆ logical_cores
| unsigned mtl::util::cpu_info::logical_cores = 0 |
◆ sse2
| bool mtl::util::cpu_info::sse2 = false |
◆ vendor
| std::string mtl::util::cpu_info::vendor |
"GenuineIntel", "AuthenticAMD", or "" if unknown
The documentation for this struct was generated from the following file: