diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-07-18 15:44:21 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | d58cec032556abb103cdf7564ab29762d5c4c051 (patch) | |
tree | 1c938fdb7f087129ee54654eeee55c53ffe97ca5 /tests/validation/NEON/BitwiseAnd.cpp | |
parent | 81527bff7d6fc337fb9edec23c0b63a96b500bd4 (diff) | |
download | ComputeLibrary-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/BitwiseAnd.cpp')
-rw-r--r-- | tests/validation/NEON/BitwiseAnd.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/tests/validation/NEON/BitwiseAnd.cpp b/tests/validation/NEON/BitwiseAnd.cpp index 9ef6fc18a2..e701b40949 100644 --- a/tests/validation/NEON/BitwiseAnd.cpp +++ b/tests/validation/NEON/BitwiseAnd.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 @@ -77,8 +76,8 @@ Tensor compute_bitwise_and(const TensorShape &shape) BOOST_TEST(!dst.info()->is_resizable()); // Fill tensors - library->fill_tensor_uniform(NEAccessor(src1), 0); - library->fill_tensor_uniform(NEAccessor(src2), 1); + library->fill_tensor_uniform(Accessor(src1), 0); + library->fill_tensor_uniform(Accessor(src2), 1); // Compute function band.run(); @@ -127,8 +126,8 @@ Tensor compute_bitwise_and_subtensor(const TensorShape &shape) // Fill tensors std::uniform_int_distribution<> distribution(0, 255); - library->fill(NEAccessor(src1), distribution, 0); - library->fill(NEAccessor(src2), distribution, 1); + library->fill(Accessor(src1), distribution, 0); + library->fill(Accessor(src2), distribution, 1); // Compute function band1.run(); @@ -181,7 +180,7 @@ BOOST_DATA_TEST_CASE(RunSmall, SmallShapes(), shape) RawTensor ref_dst = Reference::compute_reference_bitwise_and(shape); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_TEST_DECORATOR(*boost::unit_test::label("precommit")) @@ -197,7 +196,7 @@ BOOST_AUTO_TEST_CASE(RunSubTensor) RawTensor ref_dst = Reference::compute_reference_bitwise_and(shape); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_TEST_DECORATOR(*boost::unit_test::label("nightly")) @@ -210,7 +209,7 @@ BOOST_DATA_TEST_CASE(RunLarge, LargeShapes(), shape) RawTensor ref_dst = Reference::compute_reference_bitwise_and(shape); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_AUTO_TEST_SUITE_END() |