Skip to content

Conversation

dslarm
Copy link

@dslarm dslarm commented Oct 23, 2024

Fixes #966
This fix resolves performance issue where Boost::math unnecessarily promotes doubles to long double, which is not fully supported by hardware leading to slow-downs.

The change is to set a define during cmake process which prevents promotion ( -DBOOST_MATH_PROMOTE_DOUBLE_POLICY=false )

    Set boost options in CMakeLists.txt to not promote doubles to long doubles. Promotion
    incurs performance penalty on all platforms, and particularly aarch64.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance issue in use of boost::math::digamma on aarch64 Linux

1 participant