diff options
author | Isabella Gottardi <isabella.gottardi@arm.com> | 2017-07-28 17:24:08 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | f9bae2e9c4926e91b1bd89af899fec4301d05eb3 (patch) | |
tree | 446f0545552a0473a1716b33202f73e642aa23d4 /src/core/CL/kernels/CLWarpPerspectiveKernel.cpp | |
parent | 02dfb2cd0bfab1bcff141db4598c23055e67311b (diff) | |
download | ComputeLibrary-f9bae2e9c4926e91b1bd89af899fec4301d05eb3.tar.gz |
COMPMID-417 - Bug Fix WarpPerspective kernel
Change-Id: Ic26fb3b1b60c1a1f4848d683862a25bd1ebc2cc8
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/82053
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Steven Niu <steven.niu@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLWarpPerspectiveKernel.cpp')
-rw-r--r-- | src/core/CL/kernels/CLWarpPerspectiveKernel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CL/kernels/CLWarpPerspectiveKernel.cpp b/src/core/CL/kernels/CLWarpPerspectiveKernel.cpp index fddb580750..a47952fc6b 100644 --- a/src/core/CL/kernels/CLWarpPerspectiveKernel.cpp +++ b/src/core/CL/kernels/CLWarpPerspectiveKernel.cpp @@ -88,8 +88,8 @@ void CLWarpPerspectiveKernel::configure(const ICLTensor *input, ICLTensor *outpu Window win = calculate_max_window(*output->info(), Steps(num_elems_processed_per_iteration)); - AccessWindowHorizontal input_access(input->info(), 0, num_elems_processed_per_iteration); - AccessWindowStatic output_access(output->info(), 0, 0, output->info()->dimension(0), output->info()->dimension(1)); + AccessWindowStatic input_access(input->info(), -border_size().left, -border_size().top, input->info()->dimension(0) + border_size().right, input->info()->dimension(1) + border_size().bottom); + AccessWindowHorizontal output_access(output->info(), 0, num_elems_processed_per_iteration); update_window_and_padding(win, input_access, output_access); |