From 3689fcd5915cd902cb4ea5f618f2a6e42f6dc4a1 Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Fri, 14 Jun 2019 17:18:12 +0100 Subject: COMPMID-2408: Add QSYMM16 support for ElementwiseAddition for NEON Change-Id: I22991e9369ffba9b51a94522ff4977933e887b94 Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/1352 Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins Reviewed-by: Giuseppe Rossini --- utils/TypePrinter.h | 3 +++ utils/Utils.h | 1 + 2 files changed, 4 insertions(+) (limited to 'utils') diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index cf351724f0..49edffbb3d 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -642,6 +642,9 @@ inline ::std::ostream &operator<<(::std::ostream &os, const DataType &data_type) case DataType::S16: os << "S16"; break; + case DataType::QSYMM16: + os << "QSYMM16"; + break; case DataType::U32: os << "U32"; break; diff --git a/utils/Utils.h b/utils/Utils.h index b4c23e849a..eec6972470 100644 --- a/utils/Utils.h +++ b/utils/Utils.h @@ -174,6 +174,7 @@ inline std::string get_typestring(DataType data_type) case DataType::U16: return endianness + "u" + support::cpp11::to_string(sizeof(uint16_t)); case DataType::S16: + case DataType::QSYMM16: return endianness + "i" + support::cpp11::to_string(sizeof(int16_t)); case DataType::U32: return endianness + "u" + support::cpp11::to_string(sizeof(uint32_t)); -- cgit v1.2.1