aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/NEON/Sobel5x5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/NEON/Sobel5x5.cpp')
-rw-r--r--tests/validation/NEON/Sobel5x5.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/validation/NEON/Sobel5x5.cpp b/tests/validation/NEON/Sobel5x5.cpp
index e3ef8316cf..d4d48f6afa 100644
--- a/tests/validation/NEON/Sobel5x5.cpp
+++ b/tests/validation/NEON/Sobel5x5.cpp
@@ -24,7 +24,7 @@
#include "AssetsLibrary.h"
#include "Globals.h"
-#include "NEON/NEAccessor.h"
+#include "NEON/Accessor.h"
#include "PaddingCalculator.h"
#include "TypePrinter.h"
#include "Utils.h"
@@ -46,7 +46,6 @@
using namespace arm_compute;
using namespace arm_compute::test;
-using namespace arm_compute::test::neon;
using namespace arm_compute::test::validation;
namespace
@@ -87,7 +86,7 @@ std::pair<Tensor, Tensor> compute_sobel_5x5(const TensorShape &shape, BorderMode
BOOST_TEST(!dst_y.info()->is_resizable());
// Fill tensors
- library->fill_tensor_uniform(NEAccessor(src), 0);
+ library->fill_tensor_uniform(Accessor(src), 0);
// Compute function
sobel_5x5.run();
@@ -169,8 +168,8 @@ BOOST_DATA_TEST_CASE(RunSmall, SmallShapes() * BorderModes(), shape, border_mode
const ValidRegion valid_region = shape_to_valid_region(shape, border_mode == BorderMode::UNDEFINED, border_size);
// Validate output
- validate(NEAccessor(dst.first), ref_dst.first, valid_region);
- validate(NEAccessor(dst.second), ref_dst.second, valid_region);
+ validate(Accessor(dst.first), ref_dst.first, valid_region);
+ validate(Accessor(dst.second), ref_dst.second, valid_region);
}
BOOST_TEST_DECORATOR(*boost::unit_test::label("nightly"))
@@ -196,8 +195,8 @@ BOOST_DATA_TEST_CASE(RunLarge, LargeShapes() * BorderModes(), shape, border_mode
const ValidRegion valid_region = shape_to_valid_region(shape, border_mode == BorderMode::UNDEFINED, border_size);
// Validate output
- validate(NEAccessor(dst.first), ref_dst.first, valid_region);
- validate(NEAccessor(dst.second), ref_dst.second, valid_region);
+ validate(Accessor(dst.first), ref_dst.first, valid_region);
+ validate(Accessor(dst.second), ref_dst.second, valid_region);
}
BOOST_AUTO_TEST_SUITE_END()