aboutsummaryrefslogtreecommitdiff
path: root/src/backends/neon/test/NeonEndToEndTests.cpp
diff options
context:
space:
mode:
authorColm Donelan <colm.donelan@arm.com>2022-07-06 12:09:05 +0100
committerNikhil Raj <nikhil.raj@arm.com>2022-07-27 15:56:33 +0100
commitd7ceec59ce45f690deba2c0d452ec91fabbdadf9 (patch)
treeddea3d4092d1d9df21a751bf8cf1750c746ad644 /src/backends/neon/test/NeonEndToEndTests.cpp
parent9d9dd223ba9fbc509ea8ff1c211d3c63943a5989 (diff)
downloadarmnn-d7ceec59ce45f690deba2c0d452ec91fabbdadf9.tar.gz
IVGCVSW-6896 Fix pre-import when using sync execute.
* Refactor backend capability checks in LoadedNetwork. * ImportInputs should check the number of tensors does not exceed the number of inputs. * In EnqueueWorkload the check for for the count of input tensors was ignoring pre-imported inputs. * Added checks to verify ImportInputs/ImportOutputs worked as expected in EndToEndTestImpl. * Improve documentation on ImportInputs/ImportOutputs in IRuntime.hpp. * Disabled import tests in CL and Neon EndToEndTests that cannot work. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: Iae4b2644a1c9f01ee72bce1afb211661cc9ae2e3
Diffstat (limited to 'src/backends/neon/test/NeonEndToEndTests.cpp')
-rw-r--r--src/backends/neon/test/NeonEndToEndTests.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/backends/neon/test/NeonEndToEndTests.cpp b/src/backends/neon/test/NeonEndToEndTests.cpp
index ff13fb0f68..d680e6deed 100644
--- a/src/backends/neon/test/NeonEndToEndTests.cpp
+++ b/src/backends/neon/test/NeonEndToEndTests.cpp
@@ -568,17 +568,26 @@ TEST_CASE("NeonStridedSliceInvalidSliceEndToEndTest")
StridedSliceInvalidSliceEndToEndTest(neonDefaultBackends);
}
-TEST_CASE("NeonForceImportWithAlignedBuffersEndToEndTest")
+TEST_CASE("NeonForceImportWithAlignedBuffersEndToEndTest"
+ // Currently, the Neon workload for activation does not support tensor handle replacement so this test case
+ // will always fail.
+ * doctest::skip(true))
{
ForceImportWithAlignedBuffersEndToEndTest(neonDefaultBackends);
}
-TEST_CASE("NeonForceImportWithMisalignedInputBuffersEndToEndTest")
+TEST_CASE("NeonForceImportWithMisalignedInputBuffersEndToEndTest"
+ // Currently, the Neon workload for activation does not support tensor handle replacement so this test case
+ // will always fail.
+ * doctest::skip(true))
{
ForceImportWithMisalignedInputBuffersEndToEndTest(neonDefaultBackends);
}
-TEST_CASE("NeonForceImportWithMisalignedOutputBuffersEndToEndTest")
+TEST_CASE("NeonForceImportWithMisalignedOutputBuffersEndToEndTest"
+ // Currently, the Neon workload for activation does not support tensor handle replacement so this test case
+ // will always fail.
+ * doctest::skip(true))
{
ForceImportWithMisalignedOutputBuffersEndToEndTest(neonDefaultBackends);
}