diff options
author | Pablo Tello <pablo.tello@arm.com> | 2017-10-25 11:40:50 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | daaa1fa506834c9d9ff44e5b38f05781ec416912 (patch) | |
tree | b77c41aff17d371596f5d579289a3e07cd33b0bc /scripts/clang_tidy_rules.py | |
parent | 81a26ad6b626ce2da83659d7c6c17b6104d1f203 (diff) | |
download | ComputeLibrary-daaa1fa506834c9d9ff44e5b38f05781ec416912.tar.gz |
COMPMID-642: Fixed mismatches in NEDeconvolutionLayer.
Mismatches are caused by an incorrect implementation of round() in support/ToolchainSupport.h.
The current implementation produces incorrect results in aarch64 linux targets( e.g round(0.5) = 0)
Change-Id: I5448d9860f9994745466ba074ade92467508817a
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/93032
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'scripts/clang_tidy_rules.py')
-rwxr-xr-x | scripts/clang_tidy_rules.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/clang_tidy_rules.py b/scripts/clang_tidy_rules.py index 72eae6f417..e5e357e59d 100755 --- a/scripts/clang_tidy_rules.py +++ b/scripts/clang_tidy_rules.py @@ -89,6 +89,7 @@ def filter_clang_tidy_lines( lines ): ("ConvolutionLayer.cpp" in line and "move constructors should be marked noexcept" in line) or ("parameter 'memory_manager' is unused" in line) or ("parameter 'memory_manager' is copied for each invocation but only used as a const reference" in line) or + ("DeconvolutionLayer.cpp" in line and "casting (double + 0.5) to integer leads to incorrect rounding; consider using lround" in line) or "3rdparty" in line): print_context=False continue |