From f5ca16c90370d16442770a35f91a83c7d2f5ff9e Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Fri, 12 Feb 2021 14:26:23 +0000 Subject: IVGCVSW-5686 Add GpuAcc MLGO tuning file configuration argument to nnapi Signed-off-by: Finn Williams Change-Id: I15ca7db703065b0c70766a18b1a9a213834f39e0 --- ArmnnDriverImpl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ArmnnDriverImpl.cpp') diff --git a/ArmnnDriverImpl.cpp b/ArmnnDriverImpl.cpp index 5ce88da6..3e4aab3c 100644 --- a/ArmnnDriverImpl.cpp +++ b/ArmnnDriverImpl.cpp @@ -114,8 +114,11 @@ Return ArmnnDriverImpl::prepareModel( { { "FastMathEnabled", options.IsFastMathEnabled() }, { "SaveCachedNetwork", options.SaveCachedNetwork() }, - { "CachedNetworkFilePath", options.GetCachedNetworkFilePath() } + { "CachedNetworkFilePath", options.GetCachedNetworkFilePath() }, + { "MLGOTuningFilePath", options.GetClMLGOTunedParametersFile() } + }); + armnn::BackendOptions cpuAcc("CpuAcc", { { "FastMathEnabled", options.IsFastMathEnabled() }, -- cgit v1.2.1