aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLFillBorder.cpp
diff options
context:
space:
mode:
authorsteniu01 <steven.niu@arm.com>2017-06-23 11:44:34 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:14:20 +0100
commit960b0849e037641b74e57105a55d107da7dbe9b0 (patch)
tree0a424c4e2c62e06d61f6bd8e62313344bd908989 /src/runtime/CL/functions/CLFillBorder.cpp
parent79c6178985084cc1d48502a7a8bb298faae5f586 (diff)
downloadComputeLibrary-960b0849e037641b74e57105a55d107da7dbe9b0.tar.gz
COMPMID-250 make BorderSize explicit and fix float value validation bug
Change-Id: I747fdef3b5ad83a9c00dc42796debe86b6cd972e Reviewed-on: http://mpd-gerrit.cambridge.arm.com/78686 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLFillBorder.cpp')
-rw-r--r--src/runtime/CL/functions/CLFillBorder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLFillBorder.cpp b/src/runtime/CL/functions/CLFillBorder.cpp
index 9e59b771d8..172f09da1a 100644
--- a/src/runtime/CL/functions/CLFillBorder.cpp
+++ b/src/runtime/CL/functions/CLFillBorder.cpp
@@ -33,6 +33,6 @@ using namespace arm_compute;
void CLFillBorder::configure(ICLTensor *tensor, unsigned int border_width, BorderMode border_mode, const PixelValue &constant_border_value)
{
auto k = arm_compute::cpp14::make_unique<CLFillBorderKernel>();
- k->configure(tensor, border_width, border_mode, constant_border_value);
+ k->configure(tensor, BorderSize(border_width), border_mode, constant_border_value);
_kernel = std::move(k);
}