From 583137cc60580023abfd9d05abf933e7e117e29f Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 31 Aug 2017 18:12:42 +0100 Subject: COMPMID-417: Add support for floats in scale. Change-Id: I7d714ba13861509080a89817f54e9d32da83e970 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86026 Reviewed-by: Pablo Tello Tested-by: Kaizen --- tests/Utils.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/Utils.h') diff --git a/tests/Utils.h b/tests/Utils.h index f325bb3f37..3861577d31 100644 --- a/tests/Utils.h +++ b/tests/Utils.h @@ -31,7 +31,6 @@ #include "arm_compute/core/TensorShape.h" #include "arm_compute/core/Types.h" #include "support/ToolchainSupport.h" -#include "tests/validation/half.h" #include #include @@ -99,7 +98,7 @@ template <> struct promote { using type = int32_t; }; template <> struct promote { using type = uint64_t; }; template <> struct promote { using type = int64_t; }; template <> struct promote { using type = float; }; -template <> struct promote { using type = half_float::half; }; +template <> struct promote { using type = half; }; template @@ -253,7 +252,7 @@ void store_value_with_data_type(void *ptr, T value, DataType data_type) *reinterpret_cast(ptr) = value; break; case DataType::F16: - *reinterpret_cast(ptr) = value; + *reinterpret_cast(ptr) = value; break; case DataType::F32: *reinterpret_cast(ptr) = value; -- cgit v1.2.1