diff options
Diffstat (limited to 'arm_compute/core/CPP')
-rw-r--r-- | arm_compute/core/CPP/CPPTypes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arm_compute/core/CPP/CPPTypes.h b/arm_compute/core/CPP/CPPTypes.h index 495de13759..3ab1316369 100644 --- a/arm_compute/core/CPP/CPPTypes.h +++ b/arm_compute/core/CPP/CPPTypes.h @@ -121,6 +121,12 @@ public: */ void set_cpu_num(unsigned int cpu_count); + /** Return the maximum number of CPUs present + * + * @return Number of CPUs + */ + unsigned int get_cpu_num() const; + private: std::vector<CPUModel> _percpu = {}; bool _fp16 = false; |