aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/armnnUtils/Half.hpp8
1 files changed, 5 insertions, 3 deletions
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 <type_traits>
+
// Set style to round to nearest
#define HALF_ROUND_STYLE 1
+#define HALF_ROUND_TIES_TO_EVEN 1
-#include <type_traits>
-#include <half/half.hpp>
+#include "half/half.hpp"
namespace armnn
{
@@ -35,4 +37,4 @@ struct is_floating_point<volatile armnn::Half>
: integral_constant< bool, true >
{};
-} //namespace std \ No newline at end of file
+} //namespace std