aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/IScheduler.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2021-06-09 10:08:27 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-06-15 17:57:39 +0000
commit08302c17cd57356b35d46e17dc8d8f76672da5cf (patch)
tree3fed9bea3586bc140cc953e935f6ed55e8692dac /src/runtime/IScheduler.cpp
parent450dfb1b4d719d60295bfae56f4c46dcaf044d72 (diff)
downloadComputeLibrary-08302c17cd57356b35d46e17dc8d8f76672da5cf.tar.gz
Add CPU discovery capabilities.
Resolves: COMPMID-4500 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I008c51934ef813fb1f489b531288c4419e701955 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5799 Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/IScheduler.cpp')
-rw-r--r--src/runtime/IScheduler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/runtime/IScheduler.cpp b/src/runtime/IScheduler.cpp
index eae34b98eb..df04fed401 100644
--- a/src/runtime/IScheduler.cpp
+++ b/src/runtime/IScheduler.cpp
@@ -26,7 +26,7 @@
#include "arm_compute/core/CPP/ICPPKernel.h"
#include "arm_compute/core/Error.h"
#include "arm_compute/core/Window.h"
-#include "src/runtime/CPUUtils.h"
+#include "src/common/cpuinfo/CpuInfo.h"
#include "src/runtime/SchedulerUtils.h"
namespace arm_compute
@@ -34,9 +34,8 @@ namespace arm_compute
IScheduler::IScheduler()
: _cpu_info()
{
- utils::cpu::get_cpu_configuration(_cpu_info);
// Work out the best possible number of execution threads
- _num_threads_hint = utils::cpu::get_threads_hint();
+ _num_threads_hint = cpuinfo::num_threads_hint();
}
CPUInfo &IScheduler::cpu_info()