diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2017-06-27 17:26:37 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | fc2817dc0436ef2d5064df0a061aafd3d324d894 (patch) | |
tree | 26dd232132dbe61d79ad627236b42438c2e3cc7b /src/core/CPP | |
parent | bbd9fb95daa08d6da67c567b40ca2cd032f7a2d3 (diff) | |
download | ComputeLibrary-fc2817dc0436ef2d5064df0a061aafd3d324d894.tar.gz |
COMPMID-424 NEON/CL Harris Corners validation tests.
Change-Id: I82d2a73f515a8d45d16b9ddb702fea51ae05c82e
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79687
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Diffstat (limited to 'src/core/CPP')
-rw-r--r-- | src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp b/src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp index 884da2861b..84e12d4ead 100644 --- a/src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp +++ b/src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp @@ -57,10 +57,7 @@ inline void check_corner(float x, float y, float strength, InternalKeypoint *out inline void corner_candidates(const float *__restrict input, InternalKeypoint *__restrict output, int32_t x, int32_t y, int32_t *num_corner_candidates, std::mutex *corner_candidates_mutex) { - check_corner(x + 0, y, *(input + 0), output, num_corner_candidates, corner_candidates_mutex); - check_corner(x + 1, y, *(input + 1), output, num_corner_candidates, corner_candidates_mutex); - check_corner(x + 2, y, *(input + 2), output, num_corner_candidates, corner_candidates_mutex); - check_corner(x + 3, y, *(input + 3), output, num_corner_candidates, corner_candidates_mutex); + check_corner(x, y, *input, output, num_corner_candidates, corner_candidates_mutex); } } // namespace @@ -86,7 +83,7 @@ void CPPCornerCandidatesKernel::configure(const IImage *input, InternalKeypoint _output = output; _num_corner_candidates = num_corner_candidates; - const unsigned int num_elems_processed_per_iteration = 4; + const unsigned int num_elems_processed_per_iteration = 1; // Configure kernel window Window win = calculate_max_window(*input->info(), Steps(num_elems_processed_per_iteration)); |