aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/armnnUtils/Half.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/armnnUtils/Half.hpp b/src/armnnUtils/Half.hpp
index c4b47a3609..573d5c24b8 100644
--- a/src/armnnUtils/Half.hpp
+++ b/src/armnnUtils/Half.hpp
@@ -5,6 +5,9 @@
#pragma once
+// Set style to round to nearest
+#define HALF_ROUND_STYLE 1
+
#include <type_traits>
#include <half/half.hpp>