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/AccumulateWeighted.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/validation/NEON/AccumulateWeighted.cpp') diff --git a/tests/validation/NEON/AccumulateWeighted.cpp b/tests/validation/NEON/AccumulateWeighted.cpp index 4dfa2b8fc7..ea71959c0b 100644 --- a/tests/validation/NEON/AccumulateWeighted.cpp +++ b/tests/validation/NEON/AccumulateWeighted.cpp @@ -23,7 +23,7 @@ */ #include "AssetsLibrary.h" #include "Globals.h" -#include "NEON/NEAccessor.h" +#include "NEON/Accessor.h" #include "PaddingCalculator.h" #include "TypePrinter.h" #include "Utils.h" @@ -44,7 +44,6 @@ using namespace arm_compute; using namespace arm_compute::test; -using namespace arm_compute::test::neon; using namespace arm_compute::test::validation; namespace @@ -73,8 +72,8 @@ Tensor compute_accumulate_weighted(const TensorShape &shape, float alpha) BOOST_TEST(!dst.info()->is_resizable()); // Fill tensors - library->fill_tensor_uniform(NEAccessor(src), 0); - library->fill_tensor_uniform(NEAccessor(dst), 1); + library->fill_tensor_uniform(Accessor(src), 0); + library->fill_tensor_uniform(Accessor(dst), 1); // Compute function acc.run(); @@ -124,7 +123,7 @@ BOOST_DATA_TEST_CASE(RunSmall, SmallShapes() * boost::unit_test::data::make({ 0. RawTensor ref_dst = Reference::compute_reference_accumulate_weighted(shape, alpha); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_TEST_DECORATOR(*boost::unit_test::label("nightly")) @@ -138,7 +137,7 @@ BOOST_DATA_TEST_CASE(RunLarge, LargeShapes() * boost::unit_test::data::make({ 0. RawTensor ref_dst = Reference::compute_reference_accumulate_weighted(shape, alpha); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_AUTO_TEST_SUITE_END() -- cgit v1.2.1