aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/NEON/Gaussian5x5.cpp
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-07-18 15:44:21 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:16:42 +0100
commitd58cec032556abb103cdf7564ab29762d5c4c051 (patch)
tree1c938fdb7f087129ee54654eeee55c53ffe97ca5 /tests/validation/NEON/Gaussian5x5.cpp
parent81527bff7d6fc337fb9edec23c0b63a96b500bd4 (diff)
downloadComputeLibrary-d58cec032556abb103cdf7564ab29762d5c4c051.tar.gz
COMPMID-415: Cleanup accessors
Change-Id: Id19c8c1ea76f6e6679a4ac770e804f8012a2b5a6 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/80937 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation/NEON/Gaussian5x5.cpp')
-rw-r--r--tests/validation/NEON/Gaussian5x5.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/validation/NEON/Gaussian5x5.cpp b/tests/validation/NEON/Gaussian5x5.cpp
index 7a2a52b10f..522ececee9 100644
--- a/tests/validation/NEON/Gaussian5x5.cpp
+++ b/tests/validation/NEON/Gaussian5x5.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"
@@ -48,7 +48,6 @@
using namespace arm_compute;
using namespace arm_compute::test;
-using namespace arm_compute::test::neon;
using namespace arm_compute::test::validation;
namespace
@@ -82,7 +81,7 @@ Tensor compute_gaussian5x5(const TensorShape &shape, BorderMode border_mode, uin
BOOST_TEST(!dst.info()->is_resizable());
// Fill tensors
- library->fill_tensor_uniform(NEAccessor(src), 0);
+ library->fill_tensor_uniform(Accessor(src), 0);
// Compute function
gaussian5x5.run();
@@ -145,7 +144,7 @@ BOOST_DATA_TEST_CASE(RunSmall, SmallShapes() * BorderModes(), shape, border_mode
RawTensor ref_dst = Reference::compute_reference_gaussian5x5(shape, border_mode, border_value);
// Validate output
- validate(NEAccessor(dst), ref_dst, shape_to_valid_region(shape, border_mode == BorderMode::UNDEFINED, border_size));
+ validate(Accessor(dst), ref_dst, shape_to_valid_region(shape, border_mode == BorderMode::UNDEFINED, border_size));
}
BOOST_TEST_DECORATOR(*boost::unit_test::label("nightly"))
@@ -162,7 +161,7 @@ BOOST_DATA_TEST_CASE(RunLarge, LargeShapes() * BorderModes(), shape, border_mode
RawTensor ref_dst = Reference::compute_reference_gaussian5x5(shape, border_mode, border_value);
// Validate output
- validate(NEAccessor(dst), ref_dst, shape_to_valid_region(shape, border_mode == BorderMode::UNDEFINED, border_size));
+ validate(Accessor(dst), ref_dst, shape_to_valid_region(shape, border_mode == BorderMode::UNDEFINED, border_size));
}
BOOST_AUTO_TEST_SUITE_END()