From 49937f3da53c78a5fdd8fdfbd007993572d5f926 Mon Sep 17 00:00:00 2001 From: Ruomei Yan Date: Thu, 25 Apr 2019 14:24:05 +0100 Subject: IVGCVSW-2773 Integrate new CL tuner into ArmNN !android-nn-driver:1038 Change-Id: Ia94743a64109b5eddcd44b03cf6ba5b3a4de4e53 Signed-off-by: Ruomei Yan --- include/armnn/IRuntime.hpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp index 34487d5b76..0366663841 100644 --- a/include/armnn/IRuntime.hpp +++ b/include/armnn/IRuntime.hpp @@ -115,10 +115,17 @@ public: UpdateTunedParameters }; + enum class TuningLevel + { + Rapid = 0, + Normal = 1, + Exhaustive = 2 + }; + /// Creates an IClTunedParameters with the given mode. /// @{ - static IGpuAccTunedParameters* CreateRaw(Mode mode); - static IGpuAccTunedParametersPtr Create(Mode mode); + static IGpuAccTunedParameters* CreateRaw(Mode mode, TuningLevel tunerMode); + static IGpuAccTunedParametersPtr Create(Mode mode, TuningLevel tunerMode); /// @} static void Destroy(IGpuAccTunedParameters* params); -- cgit v1.2.1