aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2023-01-23 13:16:26 +0000
committermike.kelly <mike.kelly@arm.com>2023-03-30 19:11:25 +0000
commitb75fc93a6d6a91c5a9d18b2e4617c9265cf03c4d (patch)
tree67582533138cd878b372653347183ce301afd36a
parent52e90bf59ecbe90d33368d8fc1fd120f07658aaf (diff)
downloadarmnn-b75fc93a6d6a91c5a9d18b2e4617c9265cf03c4d.tar.gz
IVGCVSW-7454 Enable NonConstWeights in CpuAcc
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I74a93b1e2e5c9f12ce4523df3f21e5c0967fddfb
-rw-r--r--src/backends/backendsCommon/test/CompatibilityTests.cpp4
-rw-r--r--src/backends/neon/NeonBackend.hpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backends/backendsCommon/test/CompatibilityTests.cpp b/src/backends/backendsCommon/test/CompatibilityTests.cpp
index 9c85ffcfc3..8b0644b9f7 100644
--- a/src/backends/backendsCommon/test/CompatibilityTests.cpp
+++ b/src/backends/backendsCommon/test/CompatibilityTests.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2017 Arm Ltd. All rights reserved.
+// Copyright © 2017,2019-2023 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -194,7 +194,7 @@ TEST_CASE ("Neon_Backends_Capability_Test")
auto neonCapabilities = neonBackend->GetCapabilities();
CapabilityTestHelper(neonCapabilities,
- {{"NonConstWeights", false},
+ {{"NonConstWeights", true},
{"AsyncExecution", false},
{"ProtectedContentAllocation", false},
{"ConstantTensorsAsInputs", true},
diff --git a/src/backends/neon/NeonBackend.hpp b/src/backends/neon/NeonBackend.hpp
index d407368d19..3364e4be41 100644
--- a/src/backends/neon/NeonBackend.hpp
+++ b/src/backends/neon/NeonBackend.hpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2017 Arm Ltd. All rights reserved.
+// Copyright © 2017-2023 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
@@ -12,7 +12,7 @@ namespace armnn
// add new capabilities here..
const BackendCapabilities cpuAccCapabilities("CpuAcc",
{
- {"NonConstWeights", false},
+ {"NonConstWeights", true},
{"AsyncExecution", false},
{"ProtectedContentAllocation", false},
{"ConstantTensorsAsInputs", true},