21.02
|
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... | |
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.
[out] | cpuinfo | CPUInfo to be used to hold the system's cpu configuration. |
Definition at line 359 of file CPUUtils.cpp.
References ARM_COMPUTE_UNUSED, arm_compute::GENERIC, HWCAP_ASIMDDP, HWCAP_ASIMDHP, HWCAP_CPUID, CPUInfo::set_cpu_model(), CPUInfo::set_cpu_num(), CPUInfo::set_dotprod(), and CPUInfo::set_fp16().
Referenced by DeviceProperties::DeviceProperties(), and IScheduler::IScheduler().
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.
To maximize performance the library attempts to process workloads concurrently using as many threads as big cores are available on the system.
Definition at line 414 of file CPUUtils.cpp.
References ARM_COMPUTE_ERROR_ON_MSG, and ARM_COMPUTE_UNUSED.
Referenced by IScheduler::IScheduler().