aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/NEON/AccumulateSquared.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/NEON/AccumulateSquared.cpp')
-rw-r--r--tests/validation/NEON/AccumulateSquared.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/validation/NEON/AccumulateSquared.cpp b/tests/validation/NEON/AccumulateSquared.cpp
index 19b930fb25..83908425be 100644
--- a/tests/validation/NEON/AccumulateSquared.cpp
+++ b/tests/validation/NEON/AccumulateSquared.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
@@ -74,8 +73,8 @@ Tensor compute_accumulate_squared(const TensorShape &shape, uint32_t shift)
// Fill tensors
// dst tensor filled with non-negative values
- library->fill_tensor_uniform(NEAccessor(src), 0);
- library->fill_tensor_uniform(NEAccessor(dst), 1, static_cast<int16_t>(0), std::numeric_limits<int16_t>::max());
+ library->fill_tensor_uniform(Accessor(src), 0);
+ library->fill_tensor_uniform(Accessor(dst), 1, static_cast<int16_t>(0), std::numeric_limits<int16_t>::max());
// Compute function
acc.run();
@@ -125,7 +124,7 @@ BOOST_DATA_TEST_CASE(RunSmall, SmallShapes() * boost::unit_test::data::xrange(0U
RawTensor ref_dst = Reference::compute_reference_accumulate_squared(shape, shift);
// Validate output
- validate(NEAccessor(dst), ref_dst);
+ validate(Accessor(dst), ref_dst);
}
BOOST_TEST_DECORATOR(*boost::unit_test::label("nightly"))
@@ -139,7 +138,7 @@ BOOST_DATA_TEST_CASE(RunLarge, LargeShapes() * boost::unit_test::data::make({ 0U
RawTensor ref_dst = Reference::compute_reference_accumulate_squared(shape, shift);
// Validate output
- validate(NEAccessor(dst), ref_dst);
+ validate(Accessor(dst), ref_dst);
}
BOOST_AUTO_TEST_SUITE_END()