From b8d771ac2e6f847a64b3b203591c5b1c3e198d3a Mon Sep 17 00:00:00 2001 From: Narumol Prangnawarat Date: Fri, 14 Aug 2020 11:51:12 +0100 Subject: IVGCVSW-5012 Enable zero copy for Neon * Allow memory import if padding is not required in Neon * AddMockImportBackend for fallback tests * Refactor GraphUtils * Memory import unit tests * Fallback unit tests Signed-off-by: Narumol Prangnawarat Change-Id: Ic2e141e12774bf6d915e77745b6f6d2d83d9b82d --- src/armnn/test/GraphTests.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/armnn/test/GraphTests.cpp') diff --git a/src/armnn/test/GraphTests.cpp b/src/armnn/test/GraphTests.cpp index a3c42b6ce7..5a17c1c227 100644 --- a/src/armnn/test/GraphTests.cpp +++ b/src/armnn/test/GraphTests.cpp @@ -19,19 +19,6 @@ #include #include -/// Checks that first comes before second in the order. -bool CheckOrder(const armnn::Graph& graph, const armnn::Layer* first, const armnn::Layer* second) -{ - graph.Print(); - - const auto& order = graph.TopologicalSort(); - - auto firstPos = std::find(order.begin(), order.end(), first); - auto secondPos = std::find(firstPos, order.end(), second); - - return (secondPos != order.end()); -} - BOOST_AUTO_TEST_SUITE(Graph) BOOST_AUTO_TEST_CASE(ClassGraph) -- cgit v1.2.1