From 7e9391bb14d219cda310bff355669b5964b1f576 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Fri, 5 Oct 2018 14:49:28 +0100 Subject: COMPMID-1574 Implement ReduceMean in OpenCL Change-Id: Id331199f569f52a37280a9ada5bf84694580b93c Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/152843 Tested-by: bsgcomp Reviewed-by: Michele DiGiorgio --- utils/TypePrinter.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'utils') diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 10e407ddfa..b868aa94a1 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -1220,9 +1220,15 @@ inline ::std::ostream &operator<<(::std::ostream &os, const ReductionOperation & { switch(op) { + case ReductionOperation::SUM: + os << "SUM"; + break; case ReductionOperation::SUM_SQUARE: os << "SUM_SQUARE"; break; + case ReductionOperation::MEAN_SUM: + os << "MEAN_SUM"; + break; default: ARM_COMPUTE_ERROR("NOT_SUPPORTED!"); } -- cgit v1.2.1