diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-07-02 09:22:14 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-07-08 19:13:10 +0000 |
commit | da816752cad76c8e1b367e8e9c648994a1af599a (patch) | |
tree | d6efc7e559e717c07c719037947b2533a835b583 /src/runtime/cpu | |
parent | 4411e1f1d49efb78fb07a3c183f386307f951bad (diff) | |
download | ComputeLibrary-da816752cad76c8e1b367e8e9c648994a1af599a.tar.gz |
Remove redundant implementations of Add/Sub operators
Allows only implementations where inputs/output are of the same data
type and removes legacy Computer Vision ones.
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: Ia2b3d23a04236aab682f0c36a1110a30f7c06d1c
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5900
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/cpu')
-rw-r--r-- | src/runtime/cpu/operators/CpuAdd.h | 3 | ||||
-rw-r--r-- | src/runtime/cpu/operators/CpuSub.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/runtime/cpu/operators/CpuAdd.h b/src/runtime/cpu/operators/CpuAdd.h index febb79e4cd..3ff135fe41 100644 --- a/src/runtime/cpu/operators/CpuAdd.h +++ b/src/runtime/cpu/operators/CpuAdd.h @@ -39,9 +39,6 @@ public: * Valid configurations (src0,src1) -> dst : * * - (U8,U8) -> U8 - * - (U8,U8) -> S16 - * - (S16,U8) -> S16 - * - (U8,S16) -> S16 * - (S16,S16) -> S16 * - (S32,S32) -> S32 * - (F16,F16) -> F16 diff --git a/src/runtime/cpu/operators/CpuSub.h b/src/runtime/cpu/operators/CpuSub.h index aad01fe4dc..07f5be89cd 100644 --- a/src/runtime/cpu/operators/CpuSub.h +++ b/src/runtime/cpu/operators/CpuSub.h @@ -39,11 +39,8 @@ public: * Valid configurations (src0,src1) -> dst : * * - (U8,U8) -> U8 - * - (U8,U8) -> S16 * - (QASYMM8, QASYMM8) -> QASYMM8 * - (QASYMM8_SIGNED, QASYMM8_SIGNED) -> QASYMM8_SIGNED - * - (S16,U8) -> S16 - * - (U8,S16) -> S16 * - (S16,S16) -> S16 * - (S32,S32) -> S32 * - (F16,F16) -> F16 |