21.02
|
#include "src/runtime/CPUUtils.h"
#include "arm_compute/core/CPP/CPPTypes.h"
#include "arm_compute/core/Error.h"
#include "support/StringSupport.h"
#include <algorithm>
#include <array>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <map>
#include <regex.h>
#include <thread>
Go to the source code of this file.
Namespaces | |
arm_compute | |
Copyright (c) 2017-2021 Arm Limited. | |
arm_compute::utils | |
arm_compute::utils::cpu | |
Macros | |
#define | HWCAP_ASIMDHP (1 << 10) |
#define | HWCAP_CPUID (1 << 11) |
#define | HWCAP_ASIMDDP (1 << 20) |
Functions | |
void | get_cpu_configuration (CPUInfo &cpuinfo) |
This function will try to detect the CPU configuration on the system and will fill the cpuinfo object accordingly to reflect this. More... | |
unsigned int | get_threads_hint () |
Some systems have both big and small cores, this fuction computes the minimum number of cores that are exactly the same on the system. More... | |
#define HWCAP_ASIMDDP (1 << 20) |
Definition at line 61 of file CPUUtils.cpp.
Referenced by arm_compute::utils::cpu::get_cpu_configuration().
#define HWCAP_ASIMDHP (1 << 10) |
Definition at line 53 of file CPUUtils.cpp.
Referenced by arm_compute::utils::cpu::get_cpu_configuration().
#define HWCAP_CPUID (1 << 11) |
Definition at line 57 of file CPUUtils.cpp.
Referenced by arm_compute::utils::cpu::get_cpu_configuration().