|
25.02
|
#include <ArmComputeTuningUtils.hpp>
Public Member Functions | |
| ClTunedParameters (IGpuAccTunedParameters::Mode mode, IGpuAccTunedParameters::TuningLevel tuningLevel) | |
| virtual void | Load (const char *filename) |
| Loads an existing set of tuned parameters from the given file. More... | |
| virtual void | Save (const char *filename) const |
| Saves the current set of tuned parameters to the given file. More... | |
Public Attributes | |
| Mode | m_Mode |
| TuningLevel | m_TuningLevel |
| arm_compute::CLTuner | m_Tuner |
| arm_compute::CLGEMMHeuristicsHandle | m_HeuristicsHandle |
Additional Inherited Members | |
Public Types inherited from IGpuAccTunedParameters | |
| enum class | Mode { UseTunedParameters , UpdateTunedParameters } |
| enum class | TuningLevel { Rapid = 1 , Normal = 2 , Exhaustive = 3 } |
Static Public Member Functions inherited from IGpuAccTunedParameters | |
| static void | Destroy (IGpuAccTunedParameters *params) |
| static IGpuAccTunedParameters * | CreateRaw (Mode mode, TuningLevel tunerMode) |
| Creates an IClTunedParameters with the given mode. More... | |
| static IGpuAccTunedParametersPtr | Create (Mode mode, TuningLevel tunerMode) |
Protected Member Functions inherited from IGpuAccTunedParameters | |
| virtual | ~IGpuAccTunedParameters () |
Definition at line 69 of file ArmComputeTuningUtils.hpp.
| ClTunedParameters | ( | IGpuAccTunedParameters::Mode | mode, |
| IGpuAccTunedParameters::TuningLevel | tuningLevel | ||
| ) |
Definition at line 28 of file ArmComputeTuningUtils.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 36 of file ArmComputeTuningUtils.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 48 of file ArmComputeTuningUtils.cpp.
References ClTunedParameters::m_Tuner.
| arm_compute::CLGEMMHeuristicsHandle m_HeuristicsHandle |
Definition at line 81 of file ArmComputeTuningUtils.hpp.
| Mode m_Mode |
Definition at line 77 of file ArmComputeTuningUtils.hpp.
| arm_compute::CLTuner m_Tuner |
Definition at line 80 of file ArmComputeTuningUtils.hpp.
Referenced by ClTunedParameters::Load(), and ClTunedParameters::Save().
| TuningLevel m_TuningLevel |
Definition at line 78 of file ArmComputeTuningUtils.hpp.