From f437213e4b54f0179129395828e549c02973e02f Mon Sep 17 00:00:00 2001 From: Pablo Tello Date: Tue, 19 Oct 2021 15:58:33 +0100 Subject: Fixed macro redefinition in Half.hpp * Fixed the compiler warnings about macro redefinitions when building the driver * Resolves MLCE-622 Change-Id: I7231f9772dc0f38191853ff378670d45648ef7f6 Signed-off-by: Pablo Tello --- src/armnnUtils/Half.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/armnnUtils/Half.hpp b/src/armnnUtils/Half.hpp index 573d5c24b8..d55c2f9ecd 100644 --- a/src/armnnUtils/Half.hpp +++ b/src/armnnUtils/Half.hpp @@ -5,11 +5,13 @@ #pragma once +#include + // Set style to round to nearest #define HALF_ROUND_STYLE 1 +#define HALF_ROUND_TIES_TO_EVEN 1 -#include -#include +#include "half/half.hpp" namespace armnn { @@ -35,4 +37,4 @@ struct is_floating_point : integral_constant< bool, true > {}; -} //namespace std \ No newline at end of file +} //namespace std -- cgit v1.2.1