diff options
author | Pablo Tello <pablo.tello@arm.com> | 2017-07-26 10:28:40 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | f87cc7f6fef95f9b022725304118796a6a764a7c (patch) | |
tree | 06a643c47c93ba1a64dcca1ae787214a6fbfff54 /arm_compute/core/Utils.h | |
parent | 6c928343b0fa2bf60ffdfe21aea28b598d742ed4 (diff) | |
download | ComputeLibrary-f87cc7f6fef95f9b022725304118796a6a764a7c.tar.gz |
COMPMID-417: Port NEDirectConvolution 1x1 to QS16.
Change-Id: Icae6a5091e836d0aca24375f43cca9e6d3a2090f
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/81662
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/core/Utils.h')
-rw-r--r-- | arm_compute/core/Utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arm_compute/core/Utils.h b/arm_compute/core/Utils.h index 4ecd464cdb..af788beeb7 100644 --- a/arm_compute/core/Utils.h +++ b/arm_compute/core/Utils.h @@ -100,6 +100,7 @@ inline size_t data_size_from_type(DataType data_type) case DataType::F32: case DataType::U32: case DataType::S32: + case DataType::QS32: return 4; case DataType::F64: case DataType::U64: @@ -173,6 +174,7 @@ inline size_t element_size_from_data_type(DataType dt) case DataType::U32: case DataType::S32: case DataType::F32: + case DataType::QS32: return 4; default: ARM_COMPUTE_ERROR("Undefined element size for given data type"); @@ -645,6 +647,7 @@ inline bool is_data_type_fixed_point(DataType dt) { case DataType::QS8: case DataType::QS16: + case DataType::QS32: return true; default: return false; |