mOutputBindingInfo.clear();
std::vector<armnn::BindingPointInfo>().swap(mOutputBindingInfo);
+
+ armnn::IRuntime::Destroy(mRuntime);
}
int InferenceARMNN::SetPrivateData(void *data)
int ret = INFERENCE_ENGINE_ERROR_NONE;
+ std::string tune_path = model_paths[0] + ".tune";
+
+ std::cout << tune_path.c_str() << std::endl;
+
armnn::IRuntime::CreationOptions creation_options;
+ creation_options.m_BackendOptions.emplace_back(
+ armnn::BackendOptions
+ {
+ "GpuAcc",
+ {
+ {"TuningLevel", 0},
+ {"TuningFile", tune_path.c_str()}
+ }
+ }
+ );
if (mRuntime == nullptr) {
mRuntime = armnn::IRuntime::CreateRaw(creation_options);