From 14bf2b2b31aba4be7396cab9f4146b1480e2e941 Mon Sep 17 00:00:00 2001 From: Stuart Daines Date: Sun, 5 Jan 2025 16:49:51 +0000 Subject: [PATCH] Remove SIMD log, exp, log10 message for default case This was just noise. This is a rarely-used optimisation that is disabled by default. Message now only prints when USE_SLEEF = true in LocalPreferences.toml ie optimisation is enabled. --- src/utils/SIMDutils.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/SIMDutils.jl b/src/utils/SIMDutils.jl index 25e9f94a..05f692e2 100644 --- a/src/utils/SIMDutils.jl +++ b/src/utils/SIMDutils.jl @@ -308,8 +308,8 @@ const USE_SLEEF = @Preferences.load_preference("USE_SLEEF", false) sleeflog10(v::FP32P4_d) = ccall((:Sleef_log10f4_u10, SLEEF_jll.libsleef), FP32P4_d, (FP32P4_d,), v) Base.log10(v::FP32P4) = SIMD.Vec(sleeflog10(v.data)) else - @info "$(@__MODULE__) Using defaults (probably slow scalar fallbacks) for SIMD log, exp, log10 functions"* - " - to enable Sleef library, set USE_SLEEF = true in LocalPreferences.toml and restart your Julia session" + # @info "$(@__MODULE__) Using defaults (probably slow scalar fallbacks) for SIMD log, exp, log10 functions"* + # " - to enable Sleef library, set USE_SLEEF = true in LocalPreferences.toml and restart your Julia session" end end # module