diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2018-10-11 15:26:57 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-22 16:57:53 +0100 |
commit | b6cce4f906864b3bf21e00320b1add6d6bdd4f56 (patch) | |
tree | 1b07858ed1b978a12a2f2c284226101533f23e85 /src | |
parent | 157d94fc3bdab6a0c9d26054f1f85350810783cd (diff) | |
download | armnn-b6cce4f906864b3bf21e00320b1add6d6bdd4f56.tar.gz |
IVGCVSW-1914 Investigate CONV_2D failure on FP16 on Android
* Round to nearest instead of round to intermediate (default)
* Compute Library also round to nearest
Change-Id: I0c71e2ffd28e4e662188fd47d26ec8b538d4ba21
Diffstat (limited to 'src')
-rw-r--r-- | src/armnnUtils/Half.hpp | 3 |
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> |