From 646bc8a52d5012486646c02e3b4940def6f85a47 Mon Sep 17 00:00:00 2001 From: David Monahan Date: Mon, 31 Jan 2022 14:29:14 +0000 Subject: IVGCVSW-6696 Add Forced Import EndToEnd tests to Ref, Neon, and CL * Created EndToEnd tests with Misaligned buffers but import is forced * Added the Aligned Tests from a previous patch to avoid merge conflicts * Previous Aligned EndToEnd test for ref has been added to backendsCommon and is now used for neon as well * Added to Ref, Neon, and Gpu Backends * Neon tests only check for copies as reconfigure has not been implemented for the Neon backend yet Signed-off-by: David Monahan Signed-off-by: Narumol Prangnawarat Change-Id: I12ddf5780201044834d6d1bbeebce60a4614efd1 --- src/backends/neon/test/NeonEndToEndTests.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/backends/neon/test/NeonEndToEndTests.cpp') diff --git a/src/backends/neon/test/NeonEndToEndTests.cpp b/src/backends/neon/test/NeonEndToEndTests.cpp index 5190e2ff61..ff13fb0f68 100644 --- a/src/backends/neon/test/NeonEndToEndTests.cpp +++ b/src/backends/neon/test/NeonEndToEndTests.cpp @@ -568,6 +568,26 @@ TEST_CASE("NeonStridedSliceInvalidSliceEndToEndTest") StridedSliceInvalidSliceEndToEndTest(neonDefaultBackends); } +TEST_CASE("NeonForceImportWithAlignedBuffersEndToEndTest") +{ + ForceImportWithAlignedBuffersEndToEndTest(neonDefaultBackends); +} + +TEST_CASE("NeonForceImportWithMisalignedInputBuffersEndToEndTest") +{ + ForceImportWithMisalignedInputBuffersEndToEndTest(neonDefaultBackends); +} + +TEST_CASE("NeonForceImportWithMisalignedOutputBuffersEndToEndTest") +{ + ForceImportWithMisalignedOutputBuffersEndToEndTest(neonDefaultBackends); +} + +TEST_CASE("NeonForceImportWithMisalignedInputAndOutputBuffersEndToEndTest") +{ + ForceImportWithMisalignedInputAndOutputBuffersEndToEndTest(neonDefaultBackends); +} + // DISABLED //TEST_CASE("NeonDetectionPostProcessRegularNmsTest") //{ -- cgit v1.2.1