diff options
author | Nate Craun <nate@natecraun.net> | 2020-02-26 18:36:17 -0500 |
---|---|---|
committer | Giorgio Arena <giorgio.arena@arm.com> | 2020-02-27 10:50:16 +0000 |
commit | 14252f9ff45b9dbfe38743a8a3d8944be29382d3 (patch) | |
tree | 489f482f0a30844f2637e8831c14fb5ff179162d /tests/validation/NEON/ReductionOperation.cpp | |
parent | 0333704d15f68fe18551b00d00839a9efbbe858f (diff) | |
download | ComputeLibrary-14252f9ff45b9dbfe38743a8a3d8944be29382d3.tar.gz |
Fix output value for Reduction Ops MAX and MIN
In the prior version, the outputs from MAX and MIN Reduction operation
kernels would never be written to the output, because they are
stored in vec_res_value, not vec_res_value[1-4].
Also, the prior branch test is probably a mistake, because ARG_MIN_IDX
case is handled in the previous if statement, so that branch could
never actually get executed.
This commit adds a path that will correctly write the reduction
operation results to the ouput.
Signed-off-by: Nate Craun <nate@natecraun.net>
Change-Id: Id977a6240fbee4668426a9c6b487ae65fab246d2
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2796
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/NEON/ReductionOperation.cpp')
0 files changed, 0 insertions, 0 deletions