MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / cpu_model_to_string

Function cpu_model_to_string

src/common/cpuinfo/CpuModel.cpp:30–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace cpuinfo
29{
30std::string cpu_model_to_string(CpuModel model)
31{
32 switch (model)
33 {
34#define X(MODEL) \
35 case CpuModel::MODEL: \
36 return #MODEL;
37 ARM_COMPUTE_CPU_MODEL_LIST
38#undef X
39 default:
40 {
41 return std::string("GENERIC");
42 }
43 };
44}
45
46bool model_supports_fp16(CpuModel model)
47{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected