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

Add suport for Atomix.@atomic across back ends #74

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

williamfgc
Copy link
Collaborator

@williamfgc williamfgc commented Apr 17, 2024

Atomix is supported by Threads, CUDA and AMDGPU back ends.
TBD for oneAPI.jl

import Atomix.@atomic into the JACC module namespace, so JACC.@atomix can be used without the need to import Atomix from consumers.
Added unit tests for AtomicCounter
Can only be used on arrays, not single value variables
Fixes #55

Atomix is supported by Threads, CUDA and AMDGPU back ends
In the roadmap for oneAPI
Added unit test
@williamfgc
Copy link
Collaborator Author

Test this please

@williamfgc williamfgc merged commit 0498e7f into JuliaORNL:main Apr 17, 2024
6 checks passed
@williamfgc williamfgc deleted the add-atomix branch April 17, 2024 18:11
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.

Need set of common atomic_* functions (and maybe @atomic macro)
1 participant