aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColm Donelan <colm.donelan@arm.com>2024-05-13 15:36:14 +0100
committerTeresaARM <teresa.charlinreyes@arm.com>2024-05-13 15:32:43 +0000
commit9e58153bd1ac709589f8ad33fb92b8c1ad49b6b1 (patch)
tree36487d54f99b7e57d503864970a3aff247e54f31
parent722cb825e6d19183105fc65ea6ffcd95cde2bee8 (diff)
downloadandroid-nn-driver-branches/android-nn-driver_24_05.tar.gz
Manage items that are deprecated and due for removal in 24.08.HEADmainbranches/android-nn-driver_24_05
!armnn:11542 Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: Ia0750f8ada84b605a8674acbfb9b9a0c983a5376
-rw-r--r--ArmnnPreparedModel.cpp6
-rw-r--r--ArmnnPreparedModel_1_2.cpp4
-rw-r--r--ArmnnPreparedModel_1_3.cpp4
3 files changed, 11 insertions, 3 deletions
diff --git a/ArmnnPreparedModel.cpp b/ArmnnPreparedModel.cpp
index d87f9f82..f0a09bf5 100644
--- a/ArmnnPreparedModel.cpp
+++ b/ArmnnPreparedModel.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2017-2023 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2017-2024 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -329,8 +329,10 @@ void ArmnnPreparedModel<HalVersion>::ExecuteGraph(
armnn::Status status;
if (m_AsyncModelExecutionEnabled)
{
+ARMNN_NO_DEPRECATE_WARN_BEGIN
ALOGW("ArmnnPreparedModel::ExecuteGraph m_AsyncModelExecutionEnabled true");
status = m_Runtime->Execute(*m_WorkingMemHandle, inputTensors, outputTensors);
+ARMNN_NO_DEPRECATE_WARN_END
}
else
{
@@ -427,8 +429,10 @@ bool ArmnnPreparedModel<HalVersion>::ExecuteWithDummyInputs()
armnn::Status status;
if (m_AsyncModelExecutionEnabled)
{
+ARMNN_NO_DEPRECATE_WARN_BEGIN
ALOGW("ArmnnPreparedModel::ExecuteGraph m_AsyncModelExecutionEnabled true");
status = m_Runtime->Execute(*m_WorkingMemHandle, inputTensors, outputTensors);
+ARMNN_NO_DEPRECATE_WARN_END
}
else
{
diff --git a/ArmnnPreparedModel_1_2.cpp b/ArmnnPreparedModel_1_2.cpp
index a401b30e..43b127b6 100644
--- a/ArmnnPreparedModel_1_2.cpp
+++ b/ArmnnPreparedModel_1_2.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2017-2023 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2017-2024 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -556,8 +556,10 @@ bool ArmnnPreparedModel_1_2<HalVersion>::ExecuteGraph(
armnn::Status status;
if (m_AsyncModelExecutionEnabled)
{
+ARMNN_NO_DEPRECATE_WARN_BEGIN
ALOGW("ArmnnPreparedModel_1_2::ExecuteGraph m_AsyncModelExecutionEnabled true");
status = m_Runtime->Execute(*m_WorkingMemHandle, inputTensors, outputTensors);
+ARMNN_NO_DEPRECATE_WARN_END
}
else
{
diff --git a/ArmnnPreparedModel_1_3.cpp b/ArmnnPreparedModel_1_3.cpp
index 1827d900..9ab4cdc0 100644
--- a/ArmnnPreparedModel_1_3.cpp
+++ b/ArmnnPreparedModel_1_3.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2020-2023 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2020-2024 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
// Note: the ArmnnFencedExecutionCallback and code snippet in the executeFenced() function
@@ -864,8 +864,10 @@ Return <V1_3::ErrorStatus> ArmnnPreparedModel_1_3<HalVersion>::ExecuteGraph(
armnn::Status status;
if (m_AsyncModelExecutionEnabled)
{
+ARMNN_NO_DEPRECATE_WARN_BEGIN
ALOGW("ArmnnPreparedModel_1_3::ExecuteGraph m_AsyncModelExecutionEnabled true");
status = m_Runtime->Execute(*m_WorkingMemHandle, inputTensors, outputTensors);
+ARMNN_NO_DEPRECATE_WARN_BEGIN
}
else
{