From 5511749f2064cc2ba4978e36578213c0b1b19d6c Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Wed, 6 Jul 2022 12:09:05 +0100 Subject: 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 Change-Id: Iae4b2644a1c9f01ee72bce1afb211661cc9ae2e3 --- src/backends/cl/test/ClEndToEndTests.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/backends/cl/test/ClEndToEndTests.cpp') 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); } -- cgit v1.2.1