aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2020-02-28 15:40:44 +0000
committerJames Conroy <james.conroy@arm.com>2020-02-28 17:04:57 +0000
commit3fdfee764382ff3ac2985afae059cdb2a08b654f (patch)
treeefa1082cf4ba277badc1bacd5d225f46887ced68
parentccd0605855f58fc39c9c94c62096802002e4d3c9 (diff)
downloadandroid-nn-driver-3fdfee764382ff3ac2985afae059cdb2a08b654f.tar.gz
IVGCVSW-4525 Adding TPIP comments to sourcev20.02branches/android-nn-driver_20_02
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 29aaa1e0..84ff6e24 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)