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/Threshold.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tests/validation/NEON/Threshold.cpp') diff --git a/tests/validation/NEON/Threshold.cpp b/tests/validation/NEON/Threshold.cpp index e5305eec6e..f5382d4bfa 100644 --- a/tests/validation/NEON/Threshold.cpp +++ b/tests/validation/NEON/Threshold.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" @@ -45,7 +45,6 @@ using namespace arm_compute; using namespace arm_compute::test; -using namespace arm_compute::test::neon; using namespace arm_compute::test::validation; namespace @@ -79,7 +78,7 @@ Tensor compute_threshold(const TensorShape &shape, uint8_t threshold, uint8_t fa BOOST_TEST(!dst.info()->is_resizable()); // Fill tensors - library->fill_tensor_uniform(NEAccessor(src1), 0); + library->fill_tensor_uniform(Accessor(src1), 0); // Compute function thrsh.run(); @@ -131,7 +130,7 @@ BOOST_DATA_TEST_CASE(RunSmall, RawTensor ref_dst = Reference::compute_reference_threshold(shape, thrshConf.threshold, thrshConf.false_value, thrshConf.true_value, thrshConf.type, thrshConf.upper); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_TEST_DECORATOR(*boost::unit_test::label("nightly")) @@ -146,7 +145,7 @@ BOOST_DATA_TEST_CASE(RunLarge, RawTensor ref_dst = Reference::compute_reference_threshold(shape, thrshConf.threshold, thrshConf.false_value, thrshConf.true_value, thrshConf.type, thrshConf.upper); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_AUTO_TEST_SUITE_END() -- cgit v1.2.1