aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2020-02-28 15:40:44 +0000
committerJan Eilers <jan.eilers@arm.com>2020-02-28 16:19:54 +0000
commit43a430d4680060a0044c878a4889d37ef1fb611a (patch)
treeefa1082cf4ba277badc1bacd5d225f46887ced68
parent3a3ce56e1ce1d2ce3b3da9a6c8d7c69a317e71d0 (diff)
downloadandroid-nn-driver-43a430d4680060a0044c878a4889d37ef1fb611a.tar.gz
IVGCVSW-4525 Adding TPIP comments to source
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I4cd521f01172889966e64d03cdf899a355bd39d3
-rw-r--r--ArmnnPreparedModel_1_2.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ArmnnPreparedModel_1_2.cpp b/ArmnnPreparedModel_1_2.cpp
index 29aaa1e..84ff6e2 100644
--- a/ArmnnPreparedModel_1_2.cpp
+++ b/ArmnnPreparedModel_1_2.cpp
@@ -2,6 +2,9 @@
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
+// Note: the ArmnnBurstExecutorWithCache in this file is based on Android code
+// under the Apache 2.0 license. See comment below for details.
+//
#define LOG_TAG "ArmnnDriver"
@@ -393,6 +396,10 @@ Return<void> ArmnnPreparedModel_1_2<HalVersion>::executeSynchronously(const Requ
return Void();
}
+/// This class is strongly inspired by the default implementation in Android named DefaultBurstExecutorWithCache.
+/// The original code is licensed under Apache-2.0 and can be found at the following link:
+/// https://android.googlesource.com/platform/frameworks/
+/// ml/+/refs/tags/android-10.0.0_r20/nn/common/ExecutionBurstServer.cpp
class ArmnnBurstExecutorWithCache : public ExecutionBurstServer::IBurstExecutorWithCache {
public:
ArmnnBurstExecutorWithCache(IPreparedModel* preparedModel)