aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuomei Yan <ruomei.yan@arm.com>2019-04-25 14:24:05 +0100
committerRuomei Yan <ruomei.yan@arm.com>2019-04-30 14:56:04 +0100
commit49937f3da53c78a5fdd8fdfbd007993572d5f926 (patch)
tree3885c78a9f66073bbced3b97f5c08f3870760819 /include
parentd78b891d30b9b3a1aaf29e46c1d008bdc6bcd674 (diff)
downloadarmnn-49937f3da53c78a5fdd8fdfbd007993572d5f926.tar.gz
IVGCVSW-2773 Integrate new CL tuner into ArmNN
!android-nn-driver:1038 Change-Id: Ia94743a64109b5eddcd44b03cf6ba5b3a4de4e53 Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/armnn/IRuntime.hpp11
1 files changed, 9 insertions, 2 deletions
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);