aboutsummaryrefslogtreecommitdiff
path: root/1.2
diff options
context:
space:
mode:
authorKevin May <kevmay01@e126674.cambridge.arm.com>2021-10-22 11:57:30 +0100
committerKevin May <kevin.may@arm.com>2021-10-22 12:13:52 +0100
commitdaf7dd0059abda26c5f13c3698a79e85a7a9fea3 (patch)
tree5dffffcb9906cb94743c0a5353f31d7adceebe99 /1.2
parente2d611e4502fb5dce8b8a398ccfc8d7ef29da96b (diff)
downloadandroid-nn-driver-daf7dd0059abda26c5f13c3698a79e85a7a9fea3.tar.gz
IVGCVSW-6440 Enable internal profiling of Optimizer in Arm NN Driver
Signed-off-by: Kevin May <kevmay01@e126674.cambridge.arm.com> Change-Id: I92334f3215160ccdd3eb974456a6400bced42065
Diffstat (limited to '1.2')
-rw-r--r--1.2/ArmnnDriverImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/1.2/ArmnnDriverImpl.cpp b/1.2/ArmnnDriverImpl.cpp
index afe3060d..01b3ab51 100644
--- a/1.2/ArmnnDriverImpl.cpp
+++ b/1.2/ArmnnDriverImpl.cpp
@@ -134,6 +134,7 @@ Return<V1_0::ErrorStatus> ArmnnDriverImpl::prepareArmnnModel_1_2(
armnn::IOptimizedNetworkPtr optNet(nullptr, nullptr);
armnn::OptimizerOptions OptOptions;
OptOptions.m_ReduceFp32ToFp16 = float32ToFloat16;
+ OptOptions.m_ProfilingEnabled = options.IsGpuProfilingEnabled();
armnn::BackendOptions gpuAcc("GpuAcc",
{