Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use faster scalar version for trigo function #1073

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

serge-sans-paille
Copy link
Owner

Second try.

@serge-sans-paille
Copy link
Owner Author

@JohanMabille what's your take on this?

@JohanMabille
Copy link

If it turns out to be faster than the scalar (std) version, we can implement the same algorithms for scalars as the ones operating on batches (so we save the transfer to and from simd registers).

@serge-sans-paille
Copy link
Owner Author

the speedup may come from the usage of sse instruction though. This needs more investigation. But yes, this is faster for the flagged functions, at least on my laptop, but this is probably hardware-dependent.

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.

2 participants