8000 ENH: Add support SLEEF for transcendental functions · Issue #23068 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
ENH: Add support SLEEF for transcendental functions #23068
Open
@yamadafuyuka

Description

@yamadafuyuka

Functions such as sin and log use libm except for AVX512_SKX, and at least in my environment SIMD instruction were not used.
Therefore, I added implementation to use SIMD library SLEEF ( https://sleef.org/ ) and measured the calculation time of some functions.
My branch: ( https://github.com/yamadafuyuka/numpy/tree/add_SLEEF )

I graphed the results. We also confirmed that using SVE intrinsics as in ( PR-22265 ) further speeds up (the log10 function is about 4 times faster).
I would like to add SLEEF support, but I am not sure which part of NumPy is the best place to implement it. Could you please advise?

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: SI 34A0 MDIssues in SIMD (fast instruction sets) code or machinery

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0