Unify REDUCE_SUM and REDUCE_MAX operation in CL kernel (#3885)
authorPrasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 <prasanna.r@samsung.com>
Fri, 7 Dec 2018 07:06:03 +0000 (12:36 +0530)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Fri, 7 Dec 2018 07:06:03 +0000 (16:06 +0900)
commit2e1befe2394d4f36f5851c8f8f14f8a427773ef0
tree8e4955d236e8c42f5a43ec6eb40e82346f3a2772
parent3f46bbd4875756a584e9a5c9364228fc58b64cf9
Unify REDUCE_SUM and REDUCE_MAX operation in CL kernel (#3885)

This patch unifies REDUCE_SUM and REDUCE_MAX operation in CL kernel
This is done to reduce code redundancy.
Related issue: #3771

Signed-off-by: prasannar <prasanna.r@samsung.com>
libs/ARMComputeEx/src/core/CL/CLKernelLibrary.cpp
libs/ARMComputeEx/src/core/CL/cl_kernels/reduce_operation.cl
libs/ARMComputeEx/src/core/CL/kernels/CLReduceOperationKernel.cpp