ArmNN
NotReleased
|
#include <ClContextControl.hpp>
Public Member Functions | |
ClTunedParameters (armnn::IGpuAccTunedParameters::Mode mode, armnn::IGpuAccTunedParameters::TuningLevel tuningLevel) | |
virtual void | Load (const char *filename) |
virtual void | Save (const char *filename) const |
Public Attributes | |
Mode | m_Mode |
TuningLevel | m_TuningLevel |
arm_compute::CLTuner | m_Tuner |
Additional Inherited Members | |
Public Types inherited from IGpuAccTunedParameters | |
enum | Mode { UseTunedParameters, UpdateTunedParameters } |
enum | TuningLevel { Rapid = 0, Normal = 1, Exhaustive = 2 } |
Static Public Member Functions inherited from IGpuAccTunedParameters | |
static void | Destroy (IGpuAccTunedParameters *params) |
static IGpuAccTunedParameters * | CreateRaw (Mode mode, TuningLevel tunerMode) |
static IGpuAccTunedParametersPtr | Create (Mode mode, TuningLevel tunerMode) |
Protected Member Functions inherited from IGpuAccTunedParameters | |
virtual | ~IGpuAccTunedParameters () |
Definition at line 42 of file ClContextControl.hpp.
ClTunedParameters | ( | armnn::IGpuAccTunedParameters::Mode | mode, |
armnn::IGpuAccTunedParameters::TuningLevel | tuningLevel | ||
) |
Definition at line 184 of file ClContextControl.cpp.
|
virtual |
Loads an existing set of tuned parameters from the given file. If there is an error loading the file, an armnn::Exception is thrown.
Implements IGpuAccTunedParameters.
Definition at line 192 of file ClContextControl.cpp.
References ClTunedParameters::m_Tuner.
|
virtual |
Saves the current set of tuned parameters to the given file. If there is an error saving to the file, an armnn::Exception is thrown.
Implements IGpuAccTunedParameters.
Definition at line 205 of file ClContextControl.cpp.
References ClTunedParameters::m_Tuner.
Mode m_Mode |
Definition at line 50 of file ClContextControl.hpp.
arm_compute::CLTuner m_Tuner |
Definition at line 53 of file ClContextControl.hpp.
Referenced by ClTunedParameters::Load(), and ClTunedParameters::Save().
TuningLevel m_TuningLevel |
Definition at line 51 of file ClContextControl.hpp.