aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLCropResize.cpp
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2020-10-14 17:00:56 +0100
committerSiCong Li <sicong.li@arm.com>2020-10-23 13:23:26 +0000
commit3580c7564c8ae68987dbe4717f99a952bc5d7aad (patch)
tree817f3de5f764b781fa7445627bcb00a04e9cb14e /src/runtime/CL/functions/CLCropResize.cpp
parent79acd77b9e737971f653cde640759670b27c673f (diff)
downloadComputeLibrary-3580c7564c8ae68987dbe4717f99a952bc5d7aad.tar.gz
COMPMID-3708 Remove OpenCL padding: CLCopyKernel [Patch2]
* Remove the user-supplied padding from CLCopyKernel Note that this padding is different from the internal "padding" in the original task, as it is user-supplied instead of internal. This user-supplied padding interface is removed simply because it has been replaced by a more capable CLPadLayerKernel, and is not used anywhere else. Signed-off-by: SiCong Li <sicong.li@arm.com> Change-Id: Ib53e76efd7d043ee79dcd47ca734c6dc685da43e Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4194 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLCropResize.cpp')
-rw-r--r--src/runtime/CL/functions/CLCropResize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLCropResize.cpp b/src/runtime/CL/functions/CLCropResize.cpp
index 6167e9de0a..4cf9f13a67 100644
--- a/src/runtime/CL/functions/CLCropResize.cpp
+++ b/src/runtime/CL/functions/CLCropResize.cpp
@@ -146,7 +146,7 @@ void CLCropResize::configure(const CLCompileContext &compile_context, const ICLT
win.set(3, Window::Dimension(num_box, num_box + 1, 1));
auto copy_kernel = support::cpp14::make_unique<CLCopyKernel>();
- copy_kernel->configure(compile_context, _scaled_results[num_box].get(), _output, PaddingList(), &win);
+ copy_kernel->configure(compile_context, _scaled_results[num_box].get(), _output, &win);
_copy.emplace_back(std::move(copy_kernel));
_crop_results[num_box]->allocator()->allocate();