aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/test/ClEndToEndTests.cpp
diff options
context:
space:
mode:
authorColm Donelan <colm.donelan@arm.com>2022-07-06 12:09:05 +0100
committerColm Donelan <colm.donelan@arm.com>2022-07-15 14:12:10 +0000
commit5511749f2064cc2ba4978e36578213c0b1b19d6c (patch)
treeddea3d4092d1d9df21a751bf8cf1750c746ad644 /src/backends/cl/test/ClEndToEndTests.cpp
parent09742380f1d986e3f7d3a7d130f37f3ab85729fd (diff)
downloadarmnn-5511749f2064cc2ba4978e36578213c0b1b19d6c.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/cl/test/ClEndToEndTests.cpp')
-rw-r--r--src/backends/cl/test/ClEndToEndTests.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/backends/cl/test/ClEndToEndTests.cpp b/src/backends/cl/test/ClEndToEndTests.cpp
index fa6e027865..f28679cc96 100644
--- a/src/backends/cl/test/ClEndToEndTests.cpp
+++ b/src/backends/cl/test/ClEndToEndTests.cpp
@@ -514,12 +514,18 @@ TEST_CASE("ClQLstmEndToEndTest")
QLstmEndToEnd(clDefaultBackends);
}
-TEST_CASE("ClForceImportWithMisalignedInputBuffersEndToEndTest")
+TEST_CASE("ClForceImportWithMisalignedInputBuffersEndToEndTest"
+ // Currently, the CL workload for activation does not support tensor handle replacement so this test case
+ // will always fail.
+ * doctest::skip(true))
{
ForceImportWithMisalignedInputBuffersEndToEndTest(clDefaultBackends);
}
-TEST_CASE("ClForceImportWithMisalignedOutputBuffersEndToEndTest")
+TEST_CASE("ClForceImportWithMisalignedOutputBuffersEndToEndTest"
+ // Currently, the CL workload for activation does not support tensor handle replacement so this test case
+ // will always fail.
+ * doctest::skip(true))
{
ForceImportWithMisalignedOutputBuffersEndToEndTest(clDefaultBackends);
}