diff options
author | Finn Williams <Finn.Williams@arm.com> | 2021-02-12 14:26:23 +0000 |
---|---|---|
committer | Finn Williams <Finn.Williams@arm.com> | 2021-02-16 12:56:24 +0000 |
commit | f5ca16c90370d16442770a35f91a83c7d2f5ff9e (patch) | |
tree | 71f53053513615c32ee697eda3db4de6474f0f9e /1.2 | |
parent | d5232963fb557c92438a56ee10f67d5fd60e8b43 (diff) | |
download | android-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 '1.2')
-rw-r--r-- | 1.2/ArmnnDriverImpl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/1.2/ArmnnDriverImpl.cpp b/1.2/ArmnnDriverImpl.cpp index d35826e7..ccf82d0e 100644 --- a/1.2/ArmnnDriverImpl.cpp +++ b/1.2/ArmnnDriverImpl.cpp @@ -139,8 +139,10 @@ Return<V1_0::ErrorStatus> ArmnnDriverImpl::prepareArmnnModel_1_2( { { "FastMathEnabled", options.IsFastMathEnabled() }, { "SaveCachedNetwork", options.SaveCachedNetwork() }, - { "CachedNetworkFilePath", options.GetCachedNetworkFilePath() } + { "CachedNetworkFilePath", options.GetCachedNetworkFilePath() }, + { "MLGOTuningFilePath", options.GetClMLGOTunedParametersFile() } }); + armnn::BackendOptions cpuAcc("CpuAcc", { { "FastMathEnabled", options.IsFastMathEnabled() }, |