aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLReductionOperation.cpp
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2019-01-15 13:21:57 +0000
committerManuel Bottini <manuel.bottini@arm.com>2019-01-15 14:34:22 +0000
commit55e167814d462a803dbac82db17603cbe1258b4f (patch)
tree0fdac6c635a3797b67ebdedfced16f88d8fa3497 /src/runtime/CL/functions/CLReductionOperation.cpp
parent254a48a303ab0a8497849d7d8b4d2ad3ab88461a (diff)
downloadComputeLibrary-55e167814d462a803dbac82db17603cbe1258b4f.tar.gz
COMPMID-1724: CL Implement Prod fix
Change-Id: I9cf07afe6198e3364ede06faaa9a09a782a34792 Reviewed-on: https://review.mlplatform.org/519 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLReductionOperation.cpp')
-rw-r--r--src/runtime/CL/functions/CLReductionOperation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/CL/functions/CLReductionOperation.cpp b/src/runtime/CL/functions/CLReductionOperation.cpp
index e2dec6b375..3d82e3f0d9 100644
--- a/src/runtime/CL/functions/CLReductionOperation.cpp
+++ b/src/runtime/CL/functions/CLReductionOperation.cpp
@@ -165,13 +165,13 @@ void CLReductionOperation::configure(ICLTensor *input, ICLTensor *output, unsign
first_kernel_op = ReductionOperation::SUM;
intermediate_kernel_op = ReductionOperation::SUM;
last_kernel_op = op;
- pixelValue = PixelValue(0);
+ pixelValue = PixelValue();
break;
case ReductionOperation::SUM_SQUARE:
first_kernel_op = ReductionOperation::SUM_SQUARE;
intermediate_kernel_op = ReductionOperation::SUM;
last_kernel_op = ReductionOperation::SUM;
- pixelValue = PixelValue(0);
+ pixelValue = PixelValue();
break;
case ReductionOperation::PROD:
first_kernel_op = ReductionOperation::PROD;