Skip to content

Commit

Permalink
Manage items that are deprecated and due for removal in 24.08.
Browse files Browse the repository at this point in the history
!armnn:11542

Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: Ia0750f8ada84b605a8674acbfb9b9a0c983a5376
  • Loading branch information
Colm-in-Arm authored and TeresaARM committed May 13, 2024
1 parent 722cb82 commit 9e58153
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion ArmnnPreparedModel.cpp
Original file line number Diff line number Diff line change
@@ -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
//

Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down
4 changes: 3 additions & 1 deletion ArmnnPreparedModel_1_2.cpp
Original file line number Diff line number Diff line change
@@ -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
//

Expand Down Expand Up @@ -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
{
Expand Down
4 changes: 3 additions & 1 deletion ArmnnPreparedModel_1_3.cpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit 9e58153

Please sign in to comment.