From daaa1fa506834c9d9ff44e5b38f05781ec416912 Mon Sep 17 00:00:00 2001 From: Pablo Tello Date: Wed, 25 Oct 2017 11:40:50 +0100 Subject: 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 Reviewed-by: Anthony Barbier --- scripts/clang_tidy_rules.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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 -- cgit v1.2.1