24.08
|
Go to the documentation of this file.
31 , m_TuningLevel(tuningLevel)
40 m_Tuner.load_from_file(filename);
42 catch (
const std::exception& e)
44 throw Exception(std::string(
"Failed to load tuned parameters file '") + filename +
"': " + e.what());
54 catch (
const std::exception& e)
56 throw Exception(std::string(
"Failed to save tuned parameters file to '") + filename +
"': " + e.what());
ClTunedParameters(IGpuAccTunedParameters::Mode mode, IGpuAccTunedParameters::TuningLevel tuningLevel)
static IGpuAccTunedParametersPtr Create(Mode mode, TuningLevel tunerMode)
arm_compute::CLTuner m_Tuner
static void Destroy(IGpuAccTunedParameters *params)
virtual void Load(const char *filename)
Loads an existing set of tuned parameters from the given file.
Base class for all ArmNN exceptions so that users can filter to just those.
virtual void Save(const char *filename) const
Saves the current set of tuned parameters to the given file.
static IGpuAccTunedParameters * CreateRaw(Mode mode, TuningLevel tunerMode)
Creates an IClTunedParameters with the given mode.
Copyright (c) 2021 ARM Limited and Contributors.
std::shared_ptr< IGpuAccTunedParameters > IGpuAccTunedParametersPtr
The following API is replaced by the backend options API.
Manages a set of GpuAcc parameters which have been tuned for maximum performance.