aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2020-04-14 16:08:32 +0100
committerMichele Di Giorgio <michele.digiorgio@arm.com>2020-04-15 14:34:19 +0000
commit7a0212aae4fe6617eb31c734c24246c345556391 (patch)
tree850590908e9edf6d778e26377198fde7dd84d968 /arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h
parent45198c8fe5c262cf7fba6f22cfc03ccf194e8bca (diff)
downloadComputeLibrary-7a0212aae4fe6617eb31c734c24246c345556391.tar.gz
COMPMID-3236: Add support QSYMM16 into S32 CLPixelwiseMultiplicationKernel
Change-Id: Ifc519f53f04fcb14ddb9c17f98cc687f34285c97 Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3018 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h')
-rw-r--r--arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h b/arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h
index eacdb44c09..2a54a4bc48 100644
--- a/arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h
+++ b/arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h
@@ -50,7 +50,15 @@ public:
*
* @param[in] input1 An input tensor. Data types supported: U8/QASYMM8/QASYMM8_SIGNED/S16/QSYMM16/F16/F32.
* @param[in] input2 An input tensor. Data types supported: same as @p input1.
- * @param[out] output The output tensor, Data types supported: same as @p input1. Note: U8 requires both inputs to be U8.
+ * @param[out] output The output tensor, Data types supported:
+ * - U8, only if both input are U8
+ * - QASYMM8, only if both inputs are QASYMM8
+ * - QASYMM8_SIGNED, only if both inputs are QASYMM8_SIGNED
+ * - S16
+ * - QSYMM16, only if both inputs are QSYMM16
+ * - S32, only if both inputs are QSYMM16
+ * - F16
+ * - F32
* @param[in] scale Scale to apply after multiplication.
* Scale must be positive and its value must be either 1/255 or 1/2^n where n is between 0 and 15.
* @param[in] overflow_policy Overflow policy. Supported overflow policies: Wrap, Saturate
@@ -63,7 +71,15 @@ public:
*
* @param[in] input1 An input tensor info. Data types supported: U8/QASYMM8/QASYMM8_SIGNED/S16/QSYMM16/F16/F32.
* @param[in] input2 An input tensor info. Data types supported: same as @p input1.
- * @param[in] output The output tensor info, Data types supported: same as @p input1. Note: U8 requires both inputs to be U8.
+ * @param[in] output The output tensor info, Data types supported:
+ * - U8, only if both input are U8
+ * - QASYMM8, only if both inputs are QASYMM8
+ * - QASYMM8_SIGNED, only if both inputs are QASYMM8_SIGNED
+ * - S16
+ * - QSYMM16, only if both inputs are QSYMM16
+ * - S32, only if both inputs are QSYMM16
+ * - F16
+ * - F32
* @param[in] scale Scale to apply after multiplication.
* Scale must be positive and its value must be either 1/255 or 1/2^n where n is between 0 and 15.
* @param[in] overflow_policy Overflow policy. Supported overflow policies: Wrap, Saturate