diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-08-10 15:28:25 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | 8914e32962be3dc8608499e3c0f2f13141493fc4 (patch) | |
tree | 033149dd7969e483811602883fb996f255d82993 /src | |
parent | db9d46da3a8645d0c2cc71d035448999a36770ec (diff) | |
download | ComputeLibrary-8914e32962be3dc8608499e3c0f2f13141493fc4.tar.gz |
COMPMID-1473: Added missing TypePrinter for CPUModel, added accessor for number of CPUs
Change-Id: If81d58b83143129bed91b9c6658b0cd4e623bc38
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/143664
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele DiGiorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/CPP/CPPTypes.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/CPP/CPPTypes.cpp b/src/core/CPP/CPPTypes.cpp index 9c2b41b4ef..e4c3b7793f 100644 --- a/src/core/CPP/CPPTypes.cpp +++ b/src/core/CPP/CPPTypes.cpp @@ -51,6 +51,10 @@ void CPUInfo::set_cpu_model(unsigned int cpuid, CPUModel model) } } +unsigned int CPUInfo::get_cpu_num() const +{ + return _percpu.size(); +} bool CPUInfo::has_fp16() const { return _fp16; |