aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/CompatibilityTests.cpp
diff options
context:
space:
mode:
authorCathal Corbett <cathal.corbett@arm.com>2022-05-13 09:55:59 +0100
committerCathal Corbett <cathal.corbett@arm.com>2022-05-13 15:09:18 +0000
commit4452baf3d295164877c5810a3867b1d2d79b04f3 (patch)
tree861b248dd0a603140eb384e48cd9ef97603a296b /src/backends/backendsCommon/test/CompatibilityTests.cpp
parentc46b90ef031a8041fe25a7191de799eca9eff8e5 (diff)
downloadarmnn-4452baf3d295164877c5810a3867b1d2d79b04f3.tar.gz
IVGCVSW-6260 ConstTensorsAsInput: Fully Connected Cl and Neon support.
* IVGCVSW-6940 ConstTensorsAsInput: DepthwiseConvolution2d - Complete Neon and Cl Bug Fix * Bug fix to enable Cl and Neon Backend Compatibility ConstantTensorsAsInputs * Updated Cl and Neon FullyConnected workloads to handle constant weights and bias as inputs rather than reading from member variables. * Prevent non const weights and biases passing CL and NEON validate for Depthwise Convolution. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I0f505ff5998a183152f843d0f6cc74327ba920e7
Diffstat (limited to 'src/backends/backendsCommon/test/CompatibilityTests.cpp')
-rw-r--r--src/backends/backendsCommon/test/CompatibilityTests.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backends/backendsCommon/test/CompatibilityTests.cpp b/src/backends/backendsCommon/test/CompatibilityTests.cpp
index 3685f75986..c69a4b5f91 100644
--- a/src/backends/backendsCommon/test/CompatibilityTests.cpp
+++ b/src/backends/backendsCommon/test/CompatibilityTests.cpp
@@ -131,7 +131,6 @@ TEST_SUITE("BackendCapability")
namespace
{
-
#if defined(ARMNNREF_ENABLED) || defined(ARMCOMPUTENEON_ENABLED) || defined(ARMCOMPUTECL_ENABLED)
void CapabilityTestHelper(BackendCapabilities &capabilities,
std::vector<std::pair<std::string, bool>> capabilityVector)
@@ -198,7 +197,7 @@ TEST_CASE ("Neon_Backends_Capability_Test")
{{"NonConstWeights", false},
{"AsyncExecution", false},
{"ProtectedContentAllocation", false},
- {"ConstantTensorsAsInputs", false},
+ {"ConstantTensorsAsInputs", true},
{"PreImportIOTensors", false},
{"ExternallyManagedMemory", true},
{"MultiAxisPacking", false}});
@@ -217,7 +216,7 @@ TEST_CASE ("Cl_Backends_Capability_Test")
{{"NonConstWeights", false},
{"AsyncExecution", false},
{"ProtectedContentAllocation", true},
- {"ConstantTensorsAsInputs", false},
+ {"ConstantTensorsAsInputs", true},
{"PreImportIOTensors", false},
{"ExternallyManagedMemory", true},
{"MultiAxisPacking", false}});