21.08
|
#include <CPPTypes.h>
Public Member Functions | |
CPUInfo (CPUInfo const &)=delete | |
CPUInfo (CPUInfo &&)=delete | |
CPUInfo & | operator= (CPUInfo const &)=delete |
CPUInfo & | operator= (CPUInfo &&)=delete |
bool | has_fp16 () const |
Checks if the cpu model supports fp16. More... | |
bool | has_bf16 () const |
Checks if the cpu model supports bf16. More... | |
bool | has_svebf16 () const |
Checks if the cpu model supports bf16. More... | |
bool | has_dotprod () const |
Checks if the cpu model supports dot product. More... | |
bool | has_svef32mm () const |
Checks if the cpu model supports floating-point matrix multiplication. More... | |
bool | has_i8mm () const |
Checks if the cpu model supports integer matrix multiplication. More... | |
bool | has_svei8mm () const |
Checks if the cpu model supports integer matrix multiplication. More... | |
bool | has_sve () const |
Checks if the cpu model supports sve. More... | |
bool | has_sve2 () const |
Checks if the cpu model supports sve2. More... | |
CPUModel | get_cpu_model (unsigned int cpuid) const |
Gets the cpu model for a given cpuid. More... | |
CPUModel | get_cpu_model () const |
Gets the current thread's cpu model. More... | |
unsigned int | get_L1_cache_size () const |
Gets the L1 cache size. More... | |
unsigned int | get_L2_cache_size () const |
Gets the L2 cache size. More... | |
unsigned int | get_cpu_num () const |
Return the maximum number of CPUs present. More... | |
Static Public Member Functions | |
static CPUInfo & | get () |
Access the KernelLibrary singleton. More... | |
Definition at line 59 of file CPPTypes.h.
|
static |
Access the KernelLibrary singleton.
This method has been deprecated and will be removed in future releases
Definition at line 39 of file CPPTypes.cpp.
References CpuInfo::build().
Referenced by CpuLogits1DMaxKernel::configure(), CpuActivationKernel::configure(), CpuScaleKernel::configure(), CpuAddKernel::configure(), CpuLogits1DSoftmaxKernel< IS_LOG >::configure(), IScheduler::cpu_info(), arm_compute::error_on_unsupported_cpu_bf16(), arm_compute::error_on_unsupported_cpu_fp16(), and NEBatchNormalizationLayerKernel::run().
CPUModel get_cpu_model | ( | unsigned int | cpuid | ) | const |
Gets the cpu model for a given cpuid.
[in] | cpuid | the id of the cpu core to be retrieved, |
Definition at line 108 of file CPPTypes.cpp.
Referenced by CpuConv2d::get_convolution_method(), and main().
CPUModel get_cpu_model | ( | ) | const |
Gets the current thread's cpu model.
Definition at line 103 of file CPPTypes.cpp.
unsigned int get_cpu_num | ( | ) | const |
Return the maximum number of CPUs present.
Definition at line 53 of file CPPTypes.cpp.
Referenced by main().
unsigned int get_L1_cache_size | ( | ) | const |
Gets the L1 cache size.
Definition at line 113 of file CPPTypes.cpp.
unsigned int get_L2_cache_size | ( | ) | const |
Gets the L2 cache size.
Definition at line 118 of file CPPTypes.cpp.
Referenced by GemmInterleavedPretransposed2d< strategy, To, Tr >::GemmInterleavedPretransposed2d().
bool has_bf16 | ( | ) | const |
Checks if the cpu model supports bf16.
Definition at line 63 of file CPPTypes.cpp.
Referenced by arm_compute::error_on_unsupported_cpu_bf16(), and main().
bool has_dotprod | ( | ) | const |
Checks if the cpu model supports dot product.
Definition at line 73 of file CPPTypes.cpp.
Referenced by main().
bool has_fp16 | ( | ) | const |
Checks if the cpu model supports fp16.
Definition at line 58 of file CPPTypes.cpp.
Referenced by arm_compute::error_on_unsupported_cpu_fp16(), and main().
bool has_i8mm | ( | ) | const |
Checks if the cpu model supports integer matrix multiplication.
Definition at line 83 of file CPPTypes.cpp.
bool has_sve | ( | ) | const |
Checks if the cpu model supports sve.
Definition at line 93 of file CPPTypes.cpp.
Referenced by main().
bool has_sve2 | ( | ) | const |
Checks if the cpu model supports sve2.
Definition at line 98 of file CPPTypes.cpp.
bool has_svebf16 | ( | ) | const |
Checks if the cpu model supports bf16.
Definition at line 68 of file CPPTypes.cpp.
bool has_svef32mm | ( | ) | const |
Checks if the cpu model supports floating-point matrix multiplication.
Definition at line 78 of file CPPTypes.cpp.
bool has_svei8mm | ( | ) | const |
Checks if the cpu model supports integer matrix multiplication.
Definition at line 88 of file CPPTypes.cpp.