From ef9da00cad2b92633a130d43cb8a196278d49e85 Mon Sep 17 00:00:00 2001 From: Viet-Hoa Do Date: Wed, 27 Sep 2023 16:39:05 +0100 Subject: Reimplement erf function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * The current implementation has signfinicant inaccuracy and the issue cascades to GELU. * Use the implementation from ArmĀ® Optimized Routines. The maximum error is 1.93 ULP. Resolves: COMPMID-6554 Signed-off-by: Viet-Hoa Do Change-Id: If80131e164b7a078e34dd8e05b1506698f31d17a Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10395 Tested-by: Arm Jenkins Reviewed-by: TeresaARM Reviewed-by: SiCong Li Comments-Addressed: Arm Jenkins Benchmark: Arm Jenkins --- src/BUILD.bazel | 1 + 1 file changed, 1 insertion(+) (limited to 'src/BUILD.bazel') diff --git a/src/BUILD.bazel b/src/BUILD.bazel index 786a38f891..2c56f26c11 100644 --- a/src/BUILD.bazel +++ b/src/BUILD.bazel @@ -651,6 +651,7 @@ filegroup( "core/utils/DataTypeUtils.cpp", "core/utils/FormatUtils.cpp", "core/utils/InterpolationPolicyUtils.cpp", + "core/utils/Math.cpp", "core/utils/ScaleUtils.cpp", "core/utils/StringUtils.cpp", "core/utils/helpers/fft.cpp", -- cgit v1.2.1