aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2019-08-23 12:02:06 +0100
committerMichele Di Giorgio <michele.digiorgio@arm.com>2019-08-23 15:24:50 +0000
commit35ea9a7521b4b858a6bcc33a244b6e7f94b6e3a3 (patch)
tree570c1c70fcf06491188d8df4cc287e9ab8a3e640 /utils
parent29a01c90fc372d31188ab7157b45b32ce24fa9b3 (diff)
downloadComputeLibrary-35ea9a7521b4b858a6bcc33a244b6e7f94b6e3a3.tar.gz
COMPMID-2317: Add new QASYMM16 data type
Change-Id: I9fbbba633f10d542474a08b1898150b9799b7ae5 Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-on: https://review.mlplatform.org/c/1805 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/TypePrinter.h3
-rw-r--r--utils/Utils.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h
index 904115360a..41bfd1d6c8 100644
--- a/utils/TypePrinter.h
+++ b/utils/TypePrinter.h
@@ -646,6 +646,9 @@ inline ::std::ostream &operator<<(::std::ostream &os, const DataType &data_type)
case DataType::QSYMM16:
os << "QSYMM16";
break;
+ case DataType::QASYMM16:
+ os << "QASYMM16";
+ break;
case DataType::U32:
os << "U32";
break;
diff --git a/utils/Utils.h b/utils/Utils.h
index 8605f4e3e1..ec08896257 100644
--- a/utils/Utils.h
+++ b/utils/Utils.h
@@ -173,6 +173,7 @@ inline std::string get_typestring(DataType data_type)
case DataType::QSYMM8_PER_CHANNEL:
return no_endianness + "i" + support::cpp11::to_string(sizeof(int8_t));
case DataType::U16:
+ case DataType::QASYMM16:
return endianness + "u" + support::cpp11::to_string(sizeof(uint16_t));
case DataType::S16:
case DataType::QSYMM16: