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

Reduce atomics #1351

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Reduce atomics #1351

wants to merge 1 commit into from

Conversation

angeloskath
Copy link
Member

Added a kernel with atomics for a single col reduce. It gets back the performance that we lost from the refactor but I don't like that I don't understand why.

In our reduction benchmark this is significantly slower than the looped version. Moreover the 8-bit and 16-bit versions are painfully slow ~5x in comparison to 32 bits and 64 bits doesn't work at all so I am routing only the 32 bit types there.

I am not proposing we merge this but if anybody feels like playing with it and figuring out how it can be slower to use a 2x faster kernel according to the micro-benchmark I 'd be very interested to learn why.

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.

1 participant