From d58cec032556abb103cdf7564ab29762d5c4c051 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Tue, 18 Jul 2017 15:44:21 +0100 Subject: COMPMID-415: Cleanup accessors Change-Id: Id19c8c1ea76f6e6679a4ac770e804f8012a2b5a6 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/80937 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- tests/validation/NEON/Sobel5x5.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'tests/validation/NEON/Sobel5x5.cpp') diff --git a/tests/validation/NEON/Sobel5x5.cpp b/tests/validation/NEON/Sobel5x5.cpp index e3ef8316cf..d4d48f6afa 100644 --- a/tests/validation/NEON/Sobel5x5.cpp +++ b/tests/validation/NEON/Sobel5x5.cpp @@ -24,7 +24,7 @@ #include "AssetsLibrary.h" #include "Globals.h" -#include "NEON/NEAccessor.h" +#include "NEON/Accessor.h" #include "PaddingCalculator.h" #include "TypePrinter.h" #include "Utils.h" @@ -46,7 +46,6 @@ using namespace arm_compute; using namespace arm_compute::test; -using namespace arm_compute::test::neon; using namespace arm_compute::test::validation; namespace @@ -87,7 +86,7 @@ std::pair compute_sobel_5x5(const TensorShape &shape, BorderMode BOOST_TEST(!dst_y.info()->is_resizable()); // Fill tensors - library->fill_tensor_uniform(NEAccessor(src), 0); + library->fill_tensor_uniform(Accessor(src), 0); // Compute function sobel_5x5.run(); @@ -169,8 +168,8 @@ BOOST_DATA_TEST_CASE(RunSmall, SmallShapes() * BorderModes(), shape, border_mode const ValidRegion valid_region = shape_to_valid_region(shape, border_mode == BorderMode::UNDEFINED, border_size); // Validate output - validate(NEAccessor(dst.first), ref_dst.first, valid_region); - validate(NEAccessor(dst.second), ref_dst.second, valid_region); + validate(Accessor(dst.first), ref_dst.first, valid_region); + validate(Accessor(dst.second), ref_dst.second, valid_region); } BOOST_TEST_DECORATOR(*boost::unit_test::label("nightly")) @@ -196,8 +195,8 @@ BOOST_DATA_TEST_CASE(RunLarge, LargeShapes() * BorderModes(), shape, border_mode const ValidRegion valid_region = shape_to_valid_region(shape, border_mode == BorderMode::UNDEFINED, border_size); // Validate output - validate(NEAccessor(dst.first), ref_dst.first, valid_region); - validate(NEAccessor(dst.second), ref_dst.second, valid_region); + validate(Accessor(dst.first), ref_dst.first, valid_region); + validate(Accessor(dst.second), ref_dst.second, valid_region); } BOOST_AUTO_TEST_SUITE_END() -- cgit v1.2.1