aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2021-03-16 16:24:09 +0900
committerJim Flynn <jim.flynn@arm.com>2021-03-26 15:11:28 +0000
commit23dbe3d3ff51c2b297ce5bf6360da6552f1c3bf5 (patch)
tree0f2c7c0709a37af8e22498b478cfce75971a0478
parentd4fa5456ba596c9fc5e2ab7de836c5157aa7a8f8 (diff)
downloadarmnn-23dbe3d3ff51c2b297ce5bf6360da6552f1c3bf5.tar.gz
Correct TuningLevel enumeration values
According to the header description - include/armnn/IRuntime.hpp, Each level should have below value. ----------------------------------------------------------------------------------------------------- "TuningLevel" : int [0..3] (0=UseOnly(default) | 1=RapidTuning | 2=NormalTuning | 3=ExhaustiveTuning) ----------------------------------------------------------------------------------------------------- And also src/backends/cl/ClBackendContext.cpp uses below enumeration values internally for the tuning level, ---------------------- enum class TuningLevel { None, Rapid, Normal, Exhaustive }; ---------------------- So this patch corrects TuningLevel enumeration values - which is exposed to user - to be consistent with ones internally used. Change-Id: I9a8aeea0115579bfd16cbe01f39183b96329cdfd Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--include/armnn/IRuntime.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp
index 4114c9950a..9122089b62 100644
--- a/include/armnn/IRuntime.hpp
+++ b/include/armnn/IRuntime.hpp
@@ -203,9 +203,9 @@ public:
enum class TuningLevel
{
- Rapid = 0,
- Normal = 1,
- Exhaustive = 2
+ Rapid = 1,
+ Normal = 2,
+ Exhaustive = 3
};
/// Creates an IClTunedParameters with the given mode.