Propose unified kernel for Comparison operators and bug fix (#3914)
authorPrasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 <prasanna.r@samsung.com>
Fri, 14 Dec 2018 00:58:59 +0000 (06:28 +0530)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 14 Dec 2018 00:58:59 +0000 (09:58 +0900)
commit2a9ad0b53a4357292cf5d3fe6935b492a9a4583b
treed4af440dcdba845f48ad86a11bed51fe256e7643
parentc2b835b86a9dcff5b5e131c478807cfb59115c08
Propose unified kernel for Comparison operators and bug fix (#3914)

This patch proposed unified CL Kernel for Comparison operator
This patch includes:
- CL kernel for EQUAL/NOT_EQUAL
- TRUTH value bug fix
- CL Kernel that can be easily extended for GT, LT, GE, LE

Signed-off-by: prasannar <prasanna.r@samsung.com>
libs/ARMComputeEx/arm_compute/core/CL/kernels/CLComparisonOpKernel.h [new file with mode: 0644]
libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLComparisonOp.h [new file with mode: 0644]
libs/ARMComputeEx/src/core/CL/CLKernelLibrary.cpp
libs/ARMComputeEx/src/core/CL/cl_kernels/comparison_op.cl [new file with mode: 0644]
libs/ARMComputeEx/src/core/CL/cl_kernels/comparison_op_quantized.cl [new file with mode: 0644]
libs/ARMComputeEx/src/core/CL/kernels/CLComparisonOpKernel.cpp [new file with mode: 0644]
libs/ARMComputeEx/src/runtime/CL/functions/CLComparisonOp.cpp [new file with mode: 0644]