From 1813422f5095983fa802e96cb8e9e0d980de82c7 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 3 Sep 2020 21:00:23 +0100 Subject: COMPMID-3583: Add S32 support to NEElementwiseDivision Division follows the flooring division approach where for example 5/2=2 while -5/2=-3 Signed-off-by: Georgios Pinitas Change-Id: I65756e0b31fe8d97f743a4c13dc5f96304722f75 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3929 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- .../core/NEON/kernels/NEElementwiseOperationKernel.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'arm_compute/core/NEON') diff --git a/arm_compute/core/NEON/kernels/NEElementwiseOperationKernel.h b/arm_compute/core/NEON/kernels/NEElementwiseOperationKernel.h index 47b8c3b7c8..7dae25c22c 100644 --- a/arm_compute/core/NEON/kernels/NEElementwiseOperationKernel.h +++ b/arm_compute/core/NEON/kernels/NEElementwiseOperationKernel.h @@ -97,7 +97,7 @@ public: /** Default constructor */ NEArithmeticOperationKernel() = default; - /** Static function to check if given info will lead to a valid configuration of @ref NEArithmeticOperationKernel + /** Configure kernel * * @param[in] op Arithmetic operation to be executed. * @param[in] input1 First tensor input info. Data types supported: QASYMM8/S16/F16/S32/F32. @@ -128,17 +128,17 @@ public: /** Default constructor */ NEDivisionOperationKernel() = default; - /** Static function to check if given info will lead to a valid configuration of @ref NEArithmeticOperationKernel + /** Configure kernel * - * @param[in] input1 First tensor input info. Data types supported: F16/F32. + * @param[in] input1 First tensor input info. Data types supported: S32/F16/F32. * @param[in] input2 Second tensor input info. Data types supported: Same as @p input1. * @param[out] output Output tensor info. Data types supported: Same as @p input1. */ void configure(const ITensorInfo *input1, const ITensorInfo *input2, ITensorInfo *output); - /** Static function to check if given info will lead to a valid configuration of @ref NEArithmeticOperationKernel + /** Static function to check if given info will lead to a valid configuration of @ref NEDivisionOperationKernel * - * @param[in] input1 First tensor input info. Data types supported: F16/F32. + * @param[in] input1 First tensor input info. Data types supported: S32/F16/F32. * @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. * @@ -157,7 +157,7 @@ public: /** Default constructor */ NEPowerOperationKernel() = default; - /** Static function to check if given info will lead to a valid configuration of @ref NEArithmeticOperationKernel + /** Configure kernel * * @param[in] input1 First tensor input info. Data types supported: F16/F32. * @param[in] input2 Second tensor input info. Data types supported: Same as @p input1. @@ -165,7 +165,7 @@ public: */ void configure(const ITensorInfo *input1, const ITensorInfo *input2, ITensorInfo *output); - /** Static function to check if given info will lead to a valid configuration of @ref NEArithmeticOperationKernel + /** Static function to check if given info will lead to a valid configuration of @ref NEPowerOperationKernel * * @param[in] input1 First tensor input info. Data types supported: F16/F32. * @param[in] input2 Second tensor input info. Data types supported: Same as @p input1. @@ -186,7 +186,7 @@ public: /** Default constructor */ NEComparisonOperationKernel() = default; - /** Static function to check if given info will lead to a valid configuration of @ref NEComparisonOperationKernel + /** Configure kernel * * @param[in] op Comparison operation to be executed. * @param[in] input1 First tensor input info. Data types supported: QASYMM8/QASYMM8_SIGNED/S16/F16/S32/F32. -- cgit v1.2.1