|
Cpp-Processing
|

Classes | |
| struct | celantur::CPUInfo |
| Structure to hold CPU information. More... | |
Enumerations | |
| enum | CPUArch { amd64 , arm64 } |
| Enum to represent CPU architectures. This enum is used to specify the architecture of the CPU, such as AMD64 or ARM64. More... | |
| enum | CPUProducer { Intel , AMD } |
| Enum to represent CPU producers. More... | |
Functions | |
| CPUInfo | celantur::get_cpu_info () |
| Function to retrieve CPU information. More... | |
| enum CPUArch |
| enum CPUProducer |
Enum to represent CPU producers.
This enum is used to specify the manufacturer of the CPU, such as Intel or AMD. It can come in handy when using OpenVINO as some optimizations are producer-specific. For example, on AMD CPUs OpenVINO might misconfigure number of threads and use only one thread.
| Enumerator | |
|---|---|
| Intel | |
| AMD | |
| CPUInfo celantur::get_cpu_info | ( | ) |
Function to retrieve CPU information.
This function gathers and returns information about the CPU, including its architecture, producer, number of logical CPUs, and number of physical CPU cores.
CPUInfo structure containing the CPU details. References AMD, amd64, celantur::CPUInfo::arch, arm64, Intel, celantur::CPUInfo::n_cores, celantur::CPUInfo::n_cpus, and celantur::CPUInfo::producer.