-
Notifications
You must be signed in to change notification settings - Fork 2
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 atomic_pointer* methods when available #14
Use atomic_pointer* methods when available #14
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #14 +/- ##
===========================================
- Coverage 98.00% 81.66% -16.34%
===========================================
Files 4 4
Lines 50 60 +10
===========================================
Hits 49 49
- Misses 1 11 +10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I'm curious, on my machine I'm noticing that the llvm approach is faster than the atomic_pointermodify approach. Is this expected? Do you plan to continue using this package as Julia begins to provide more atomic operations? |
0953048
to
eb55bd3
Compare
That isn't expected... Do you have a MWE? |
Actually it is expected, this PR got never merged :/ |
Ah, that's unfortunate! It would be great if Julia had better support for atomic increment. Do we know if anything is planned for future versions? |
I will try to find some time to update the old PR. |
Thanks for getting this fixed up and merged! ❤️ |
Yes, thanks! I'm currently working on parallelizing Finch and this package has been integral to getting the peak performance. |
Todo:
modify!
implementation