From c30128bd01bc65b5b3f676a59817558ab1aad5ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Prasanna=20R/SNAP=20/SRI-Bangalore/Engineer/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 4 Dec 2018 06:16:05 +0530 Subject: [PATCH] Redefining input parameters in reduce_operations.cl Kernel (#3789) This patch redefines input parameters in reduce_operations.cl Kernel. Signed-off-by: prasannar --- libs/ARMComputeEx/src/core/CL/cl_kernels/reduce_operation.cl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/ARMComputeEx/src/core/CL/cl_kernels/reduce_operation.cl b/libs/ARMComputeEx/src/core/CL/cl_kernels/reduce_operation.cl index 690ce7d..b8b80d7 100644 --- a/libs/ARMComputeEx/src/core/CL/cl_kernels/reduce_operation.cl +++ b/libs/ARMComputeEx/src/core/CL/cl_kernels/reduce_operation.cl @@ -42,8 +42,8 @@ * @param[in] output_stride_w Stride of the source tensor in W dimension (in bytes) * @param[in] output_step_w output_stride_w * number of elements along W processed per workitem(in bytes) * @param[in] output_offset_first_element_in_bytes The offset of the first element in the destination image - * @param[in] stops Index of the last input element for each axis - * If value is -1, that means the axis is reduced + * @param[in] axis Axis through which reduction occurs + * @param[in] dim Dimension across the axis to be reduced. */ __kernel void reduce_max(TENSOR4D_DECLARATION(input), TENSOR4D_DECLARATION(output), @@ -150,8 +150,8 @@ __kernel void reduce_min(TENSOR4D_DECLARATION(input), * @param[in] output_stride_w Stride of the source tensor in W dimension (in bytes) * @param[in] output_step_w output_stride_w * number of elements along W processed per workitem(in bytes) * @param[in] output_offset_first_element_in_bytes The offset of the first element in the destination image - * @param[in] stops Index of the last input element for each axis - * If value is -1, that means the axis is reduced + * @param[in] axis Axis through which reduction occurs + * @param[in] dim Dimension across the axis to be reduced. */ __kernel void reduce_mean(TENSOR4D_DECLARATION(input), TENSOR4D_DECLARATION(output), @@ -204,8 +204,8 @@ __kernel void reduce_mean(TENSOR4D_DECLARATION(input), * @param[in] output_stride_w Stride of the source tensor in W dimension (in bytes) * @param[in] output_step_w output_stride_w * number of elements along W processed per workitem(in bytes) * @param[in] output_offset_first_element_in_bytes The offset of the first element in the destination image - * @param[in] stops Index of the last input element for each axis - * If value is -1, that means the axis is reduced + * @param[in] axis Axis through which reduction occurs + * @param[in] dim Dimension across the axis to be reduced. */ __kernel void reduce_sum(TENSOR4D_DECLARATION(input), TENSOR4D_DECLARATION(output), -- 2.7.4