aboutsummaryrefslogtreecommitdiff
path: root/ArmnnDriverImpl.cpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2021-02-12 14:26:23 +0000
committerFinn Williams <Finn.Williams@arm.com>2021-02-16 12:56:24 +0000
commitf5ca16c90370d16442770a35f91a83c7d2f5ff9e (patch)
tree71f53053513615c32ee697eda3db4de6474f0f9e /ArmnnDriverImpl.cpp
parentd5232963fb557c92438a56ee10f67d5fd60e8b43 (diff)
downloadandroid-nn-driver-f5ca16c90370d16442770a35f91a83c7d2f5ff9e.tar.gz
IVGCVSW-5686 Add GpuAcc MLGO tuning file configuration argument to nnapi
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I15ca7db703065b0c70766a18b1a9a213834f39e0
Diffstat (limited to 'ArmnnDriverImpl.cpp')
-rw-r--r--ArmnnDriverImpl.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ArmnnDriverImpl.cpp b/ArmnnDriverImpl.cpp
index 5ce88da6..3e4aab3c 100644
--- a/ArmnnDriverImpl.cpp
+++ b/ArmnnDriverImpl.cpp
@@ -114,8 +114,11 @@ Return<V1_0::ErrorStatus> ArmnnDriverImpl<HalPolicy>::prepareModel(
{
{ "FastMathEnabled", options.IsFastMathEnabled() },
{ "SaveCachedNetwork", options.SaveCachedNetwork() },
- { "CachedNetworkFilePath", options.GetCachedNetworkFilePath() }
+ { "CachedNetworkFilePath", options.GetCachedNetworkFilePath() },
+ { "MLGOTuningFilePath", options.GetClMLGOTunedParametersFile() }
+
});
+
armnn::BackendOptions cpuAcc("CpuAcc",
{
{ "FastMathEnabled", options.IsFastMathEnabled() },