aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLMedian3x3Kernel.cpp
diff options
context:
space:
mode:
authorIsabella Gottardi <isabella.gottardi@arm.com>2017-10-11 12:16:57 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit6eb9fcae005d63e2de4a0c538b911967160fcd9b (patch)
tree3ad1b39576b20048464039be175ebf2849c5d133 /src/core/CL/kernels/CLMedian3x3Kernel.cpp
parentbf2fb95c99ebd215b3c0d93cb970461185ef9716 (diff)
downloadComputeLibrary-6eb9fcae005d63e2de4a0c538b911967160fcd9b.tar.gz
COMPMID-569 - Implemented reference implementation and validation tests (NEON and CL) for Median3x3
Change-Id: I7028f0bcc4a502261210f536ed604a7651ab6726 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/91332 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLMedian3x3Kernel.cpp')
-rw-r--r--src/core/CL/kernels/CLMedian3x3Kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/kernels/CLMedian3x3Kernel.cpp b/src/core/CL/kernels/CLMedian3x3Kernel.cpp
index 95334c7b5f..3b9fb1fe88 100644
--- a/src/core/CL/kernels/CLMedian3x3Kernel.cpp
+++ b/src/core/CL/kernels/CLMedian3x3Kernel.cpp
@@ -53,7 +53,7 @@ void CLMedian3x3Kernel::configure(const ICLTensor *input, ICLTensor *output, boo
constexpr unsigned int num_elems_written_per_iteration = 8;
constexpr unsigned int num_rows_read_per_iteration = 3;
- Window win = calculate_max_window_horizontal(*input->info(), Steps(num_elems_processed_per_iteration), border_undefined, border_size());
+ Window win = calculate_max_window(*input->info(), Steps(num_elems_processed_per_iteration), border_undefined, border_size());
AccessWindowRectangle input_access(input->info(), -border_size().left, -border_size().top, num_elems_read_per_iteration, num_rows_read_per_iteration);
AccessWindowHorizontal output_access(output->info(), 0, num_elems_written_per_iteration);