aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/NEON/Fixedpoint/Log_QS8.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/Fixedpoint/Log_QS8.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/Fixedpoint/Log_QS8.cpp')
-rw-r--r--tests/validation/NEON/Fixedpoint/Log_QS8.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/validation/NEON/Fixedpoint/Log_QS8.cpp b/tests/validation/NEON/Fixedpoint/Log_QS8.cpp
index 685d0f1230..cc74d12e10 100644
--- a/tests/validation/NEON/Fixedpoint/Log_QS8.cpp
+++ b/tests/validation/NEON/Fixedpoint/Log_QS8.cpp
@@ -23,7 +23,7 @@
*/
#include "AssetsLibrary.h"
#include "Globals.h"
-#include "NEON/NEAccessor.h"
+#include "NEON/Accessor.h"
#include "TypePrinter.h"
#include "Utils.h"
#include "validation/Datasets.h"
@@ -43,7 +43,6 @@
using namespace arm_compute;
using namespace arm_compute::test;
-using namespace arm_compute::test::neon;
using namespace arm_compute::test::validation;
namespace
@@ -80,7 +79,7 @@ Tensor compute_log_qs8(const TensorShape &shape, int fixed_point_position)
// Fill tensors. Keep the range between [(1 << (fixed_point_position - 1), 63) so the result won't
// overflow. E.g. for Q2.5 ln(0.001) = -6.9, which cannot be represented.
std::uniform_int_distribution<> distribution((1 << (fixed_point_position - 1)), 0x3F);
- library->fill(NEAccessor(src), distribution, 0);
+ library->fill(Accessor(src), distribution, 0);
Iterator input(&src, window);
Iterator output(&dst, window);
@@ -112,7 +111,7 @@ BOOST_DATA_TEST_CASE(RunSmall, Small1DShape() * boost::unit_test::data::xrange(3
RawTensor ref_dst = Reference::compute_reference_fixed_point_operation(shape, DataType::QS8, DataType::QS8, FixedPointOp::LOG, fixed_point_position);
// Validate output
- validate(NEAccessor(dst), ref_dst, tolerance, 0);
+ validate(Accessor(dst), ref_dst, tolerance, 0);
}
BOOST_AUTO_TEST_SUITE_END()