diff options
author | Sang-Hoon Park <sang-hoon.park@arm.com> | 2020-11-18 13:52:11 +0000 |
---|---|---|
committer | Sang-Hoon Park <sang-hoon.park@arm.com> | 2020-11-27 10:17:13 +0000 |
commit | 2dbc586417d5a36fcc0aca97267388466f7fff6e (patch) | |
tree | 4b480123678ee9767d4ab618e91ef032d7c669b0 /arm_compute/runtime/CL/functions | |
parent | c90fcfe90721ecc4cf1045b60bf1c933cb4823f6 (diff) | |
download | ComputeLibrary-2dbc586417d5a36fcc0aca97267388466f7fff6e.tar.gz |
COMPMID-3961: Cleaning up logical operators on OpenCL
Change-Id: I04cd23e9abcb1828e54cd59fee3bfa95a6dea3fb
Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4461
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-by: Manuel Bottini <manuel.bottini@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions')
-rw-r--r-- | arm_compute/runtime/CL/functions/CLLogicalAnd.h | 20 | ||||
-rw-r--r-- | arm_compute/runtime/CL/functions/CLLogicalNot.h | 10 | ||||
-rw-r--r-- | arm_compute/runtime/CL/functions/CLLogicalOr.h | 20 |
3 files changed, 25 insertions, 25 deletions
diff --git a/arm_compute/runtime/CL/functions/CLLogicalAnd.h b/arm_compute/runtime/CL/functions/CLLogicalAnd.h index 1a6ccf35a5..f5d834c876 100644 --- a/arm_compute/runtime/CL/functions/CLLogicalAnd.h +++ b/arm_compute/runtime/CL/functions/CLLogicalAnd.h @@ -46,16 +46,16 @@ public: * @param[in] compile_context The compile context to be used. * @param[in, out] input1 First tensor input. Data types supported: U8. * The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. - * @param[in, out] input2 Second tensor input. Data types supported: U8. + * @param[in, out] input2 Second tensor input. Data types supported: same as @p input1. * The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. - * @param[out] output Output tensor. Data types supported: U8. + * @param[out] output Output tensor. Data types supported: same as @p input1. */ void configure(const CLCompileContext &compile_context, ITensorInfo *input1, ITensorInfo *input2, ITensorInfo *output); /** Static function to check if given info will lead to a valid configuration of @ref CLLogicalBinaryKernel * * @param[in] input1 First tensor input info. Data types supported: U8. - * @param[in] input2 Second tensor input info. Data types supported: U8. - * @param[in] output Output tensor info. Data types supported: U8. + * @param[in] input2 Second tensor input info. Data types supported: same as @p input1. + * @param[in] output Output tensor info. Data types supported: same as @p input1. * * @return a status */ @@ -88,23 +88,23 @@ public: /** Initialize the function * * @param[in] input1 Input tensor. Data types supported: U8. - * @param[in] input2 Input tensor. Data types supported: U8. - * @param[out] output Output tensor. Data types supported: U8. + * @param[in] input2 Input tensor. Data types supported: same as @p input1. + * @param[out] output Output tensor. Data types supported: same as @p input1. */ void configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output); /** Initialize the function * * @param[in] compile_context The compile context to be used. * @param[in] input1 Input tensor. Data types supported: U8. - * @param[in] input2 Input tensor. Data types supported: U8. - * @param[out] output Output tensor. Data types supported: U8. + * @param[in] input2 Input tensor. Data types supported: same as @p input1. + * @param[out] output Output tensor. Data types supported: same as @p input1. */ void configure(const CLCompileContext &compile_context, ICLTensor *input1, ICLTensor *input2, ICLTensor *output); /** Static function to check if given info will lead to a valid configuration * * @param[in] input1 First tensor input info. Data types supported: U8. - * @param[in] input2 Second tensor input info. Data types supported: U8. - * @param[in] output Output tensor info. Data types supported: U8. + * @param[in] input2 Second tensor input info. Data types supported: same as @p input1. + * @param[in] output Output tensor info. Data types supported: same as @p input1. * * @return a status */ diff --git a/arm_compute/runtime/CL/functions/CLLogicalNot.h b/arm_compute/runtime/CL/functions/CLLogicalNot.h index 4fdf39ed70..f1f2ac1162 100644 --- a/arm_compute/runtime/CL/functions/CLLogicalNot.h +++ b/arm_compute/runtime/CL/functions/CLLogicalNot.h @@ -45,13 +45,13 @@ public: * * @param[in] compile_context The compile context to be used. * @param[in, out] input Tensor input. Data types supported: U8. - * @param[out] output Output tensor. Data types supported: U8. + * @param[out] output Output tensor. Data types supported: same as @p input. */ void configure(const CLCompileContext &compile_context, const ITensorInfo *input, ITensorInfo *output); /** Static function to check if given info will lead to a valid configuration of @ref CLElementWiseUnaryLayerKernel * * @param[in] input Tensor input info. Data types supported: U8. - * @param[in] output Output tensor info. Data types supported: U8. + * @param[in] output Output tensor info. Data types supported: same as @p input. * * @return a status */ @@ -84,20 +84,20 @@ public: /** Initialize the function * * @param[in] input Input tensor. Data types supported: U8. - * @param[out] output Output tensor. Data types supported: U8. + * @param[out] output Output tensor. Data types supported: same as @p input. */ void configure(const ICLTensor *input, ICLTensor *output); /** Initialize the function * * @param[in] compile_context The compile context to be used. * @param[in] input Input tensor. Data types supported: U8. - * @param[out] output Output tensor. Data types supported: U8. + * @param[out] output Output tensor. Data types supported: same as @p input. */ void configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output); /** Static function to check if given info will lead to a valid configuration * * @param[in] input Tensor input info. Data types supported: U8. - * @param[in] output Output tensor info. Data types supported: U8. + * @param[in] output Output tensor info. Data types supported: same as @p input. * * @return a status */ diff --git a/arm_compute/runtime/CL/functions/CLLogicalOr.h b/arm_compute/runtime/CL/functions/CLLogicalOr.h index a50551e1dd..daf7d85aef 100644 --- a/arm_compute/runtime/CL/functions/CLLogicalOr.h +++ b/arm_compute/runtime/CL/functions/CLLogicalOr.h @@ -46,16 +46,16 @@ public: * @param[in] compile_context The compile context to be used. * @param[in, out] input1 First tensor input. Data types supported: U8. * The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. - * @param[in, out] input2 Second tensor input. Data types supported: U8. + * @param[in, out] input2 Second tensor input. Data types supported: same as @p input1. * The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. - * @param[out] output Output tensor. Data types supported: U8. + * @param[out] output Output tensor. Data types supported: same as @p input1. */ void configure(const CLCompileContext &compile_context, ITensorInfo *input1, ITensorInfo *input2, ITensorInfo *output); /** Static function to check if given info will lead to a valid configuration of @ref CLLogicalBinaryKernel * * @param[in] input1 First tensor input info. Data types supported: U8. - * @param[in] input2 Second tensor input info. Data types supported: U8. - * @param[in] output Output tensor info. Data types supported: U8. + * @param[in] input2 Second tensor input info. Data types supported: same as @p input1. + * @param[in] output Output tensor info. Data types supported: same as @p input1. * * @return a status */ @@ -88,23 +88,23 @@ public: /** Initialize the function * * @param[in] input1 Input tensor. Data types supported: U8. - * @param[in] input2 Input tensor. Data types supported: U8. - * @param[out] output Output tensor. Data types supported: U8. + * @param[in] input2 Input tensor. Data types supported: same as @p input1. + * @param[out] output Output tensor. Data types supported: same as @p input1. */ void configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output); /** Initialize the function * * @param[in] compile_context The compile context to be used. * @param[in] input1 Input tensor. Data types supported: U8. - * @param[in] input2 Input tensor. Data types supported: U8. - * @param[out] output Output tensor. Data types supported: U8. + * @param[in] input2 Input tensor. Data types supported: same as @p input1. + * @param[out] output Output tensor. Data types supported: same as @p input1. */ void configure(const CLCompileContext &compile_context, ICLTensor *input1, ICLTensor *input2, ICLTensor *output); /** Static function to check if given info will lead to a valid configuration * * @param[in] input1 First tensor input info. Data types supported: U8. - * @param[in] input2 Second tensor input info. Data types supported: U8. - * @param[in] output Output tensor info. Data types supported: U8. + * @param[in] input2 Second tensor input info. Data types supported: same as @p input1. + * @param[in] output Output tensor info. Data types supported: same as @p input1. * * @return a status */ |