IVGCVSW-2773 Integrate new CL tuner into ArmNN
!android-nn-driver:1038
Change-Id: Ia94743a64109b5eddcd44b03cf6ba5b3a4de4e53
Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp
index 34487d5..0366663 100644
--- a/include/armnn/IRuntime.hpp
+++ b/include/armnn/IRuntime.hpp
@@ -115,10 +115,17 @@
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);