From: Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 Date: Tue, 4 Dec 2018 00:46:05 +0000 (+0530) Subject: Redefining input parameters in reduce_operations.cl Kernel (#3789) X-Git-Tag: 0.3~247 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c30128bd01bc65b5b3f676a59817558ab1aad5ff;p=platform%2Fcore%2Fml%2Fnnfw.git Redefining input parameters in reduce_operations.cl Kernel (#3789) This patch redefines input parameters in reduce_operations.cl Kernel. Signed-off-by: prasannar --- 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),