COMPMID-3960: Mismatch on NEArithmeticSubtraction
authorGeorgios Pinitas <georgios.pinitas@arm.com>
Thu, 12 Nov 2020 15:05:01 +0000 (15:05 +0000)
committerGeorgios Pinitas <georgios.pinitas@arm.com>
Thu, 12 Nov 2020 17:35:53 +0000 (17:35 +0000)
commitd7341fb9e3b24b904edf7ac9d83e1e063bc77765
treedccf043327c4ec57e2909bd50512d5bd0b9c0e8e
parentc0b6f76561580414f08633a804fc548ccad65659
COMPMID-3960: Mismatch on NEArithmeticSubtraction

Corner-case failure when both input shapes had unit shape on the X axis.
Broadcasting was enabled leading to invalid window execution.
Check is updated to cross-validate the presence of broadcasting by
checking the X dimension in both input shapes.

Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I0b79542279e8d155d2661fddff9691d94a1f6855
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4391
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
src/core/NEON/kernels/NEArithmeticAdditionKernel.cpp
src/core/NEON/kernels/NEArithmeticSubtractionKernel.cpp
src/core/NEON/kernels/NEElementwiseOperationKernel.cpp
src/core/NEON/kernels/NEPixelWiseMultiplicationKernel.cpp