24 #ifndef __ARM_COMPUTE_CPP_TYPES_H__ 25 #define __ARM_COMPUTE_CPP_TYPES_H__ 62 bool has_fp16()
const;
67 bool has_dotprod()
const;
74 CPUModel get_cpu_model(
unsigned int cpuid)
const;
84 unsigned int get_L1_cache_size()
const;
89 unsigned int get_L2_cache_size()
const;
94 void set_L1_cache_size(
unsigned int size);
99 void set_L2_cache_size(
unsigned int size);
104 void set_fp16(
const bool fp16);
109 void set_dotprod(
const bool dotprod);
115 void set_cpu_model(
unsigned int cpuid,
CPUModel model);
120 void set_cpu_num(
unsigned int cpu_count);
123 std::vector<CPUModel> _percpu = {};
125 bool _dotprod =
false;
126 unsigned int _L1_cache_size = 32768;
127 unsigned int _L2_cache_size = 262144;
134 int num_threads{ 1 };
CPUModel
CPU models - we only need to detect CPUs we have microarchitecture-specific code for.
This file contains all available output stages for GEMMLowp on OpenCL.
Information about executing thread and CPU.