aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuomei Yan <ruomei.yan@arm.com>2019-05-03 12:10:19 +0100
committerRuomei Yan <ruomei.yan@arm.com>2019-05-03 12:10:35 +0100
commit8b194fbe79d44cba566ad8b508d1c8902987ae3c (patch)
treea39b00b15f842d7c8bbd4aa751f9d60de3250ac6
parentb4d7eaef418bfda0b939c757b6206570f70aff8e (diff)
downloadarmnn-8b194fbe79d44cba566ad8b508d1c8902987ae3c.tar.gz
IVGCVSW-3003 Fix the bug in setting the same tuningLevel in the constructor
Change-Id: I53bd3a8e8f846edbebb1598559f3541698e647e5 Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
-rw-r--r--src/backends/cl/ClContextControl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backends/cl/ClContextControl.cpp b/src/backends/cl/ClContextControl.cpp
index 268430ec6b..2ffece4ac3 100644
--- a/src/backends/cl/ClContextControl.cpp
+++ b/src/backends/cl/ClContextControl.cpp
@@ -212,7 +212,7 @@ void IGpuAccTunedParameters::Destroy(IGpuAccTunedParameters* params)
ClTunedParameters::ClTunedParameters(armnn::IGpuAccTunedParameters::Mode mode,
armnn::IGpuAccTunedParameters::TuningLevel tuningLevel)
: m_Mode(mode)
- , m_TuningLevel(ClTunedParameters::TuningLevel::Rapid)
+ , m_TuningLevel(tuningLevel)
, m_Tuner(mode == ClTunedParameters::Mode::UpdateTunedParameters)
{
}