aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhya Sudhan Loganathan <vidhyasudhan.loganathan@arm.com>2018-10-03 13:53:01 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:55:19 +0000
commitecd9d09c7c77005586250587ec8e1ddb6f224bde (patch)
tree5fa2eafc416bfa63fc73c1c1b104f861e37f0090
parentd307f06591f674f1b1f53f96b31404e4da754b3b (diff)
downloadComputeLibrary-ecd9d09c7c77005586250587ec8e1ddb6f224bde.tar.gz
COMPMID-1618 : Mobilenet QASYMM8 does not use dot prod kernel when instrumentation timer is enabled
issue description: cpu info was neither initialised in scheduler timer interceptor nor was it retrieved from real scheduler. Change-Id: Ibe75b0704250d99682ed866deaf3ddf5fda22de5 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/151451 Reviewed-by: Pablo Tello <pablo.tello@arm.com> Tested-by: bsgcomp <bsgcomp@arm.com>
-rw-r--r--src/runtime/CPP/CPPScheduler.cpp1
-rw-r--r--src/runtime/IScheduler.cpp1
-rw-r--r--src/runtime/OMP/OMPScheduler.cpp1
3 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/CPP/CPPScheduler.cpp b/src/runtime/CPP/CPPScheduler.cpp
index de28b4f96e..68611f7eea 100644
--- a/src/runtime/CPP/CPPScheduler.cpp
+++ b/src/runtime/CPP/CPPScheduler.cpp
@@ -215,7 +215,6 @@ CPPScheduler::CPPScheduler()
: _num_threads(num_threads_hint()),
_threads(_num_threads - 1)
{
- get_cpu_configuration(_cpu_info);
}
void CPPScheduler::set_num_threads(unsigned int num_threads)
diff --git a/src/runtime/IScheduler.cpp b/src/runtime/IScheduler.cpp
index 5188dce4eb..b2edad0ca5 100644
--- a/src/runtime/IScheduler.cpp
+++ b/src/runtime/IScheduler.cpp
@@ -31,6 +31,7 @@ namespace arm_compute
IScheduler::IScheduler()
: _cpu_info()
{
+ get_cpu_configuration(_cpu_info);
// Work out the best possible number of execution threads
_num_threads_hint = get_threads_hint();
}
diff --git a/src/runtime/OMP/OMPScheduler.cpp b/src/runtime/OMP/OMPScheduler.cpp
index f4253c8848..77ee233cdd 100644
--- a/src/runtime/OMP/OMPScheduler.cpp
+++ b/src/runtime/OMP/OMPScheduler.cpp
@@ -42,7 +42,6 @@ OMPScheduler &OMPScheduler::get()
OMPScheduler::OMPScheduler() // NOLINT
: _num_threads(omp_get_max_threads())
{
- get_cpu_configuration(_cpu_info);
}
unsigned int OMPScheduler::num_threads() const