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

Tie atomic updates to execution space or even to thread team? (speculation) #144

Closed
mhoemmen opened this issue Nov 24, 2015 · 3 comments
Closed

Comments

@mhoemmen
Copy link
Contributor

Would it make sense to tie atomic updates to the execution space in which one plans to execute them? Right now, the implementation of atomic updates depends only on build options. Furthermore, it might make sense to tie atomic updates to a particular thread team.

@crtrott
Copy link
Member

crtrott commented Nov 25, 2015

What you are talking about is effectively the concept of contention groups. No hardware really supports that right now and we don't have any such concept in Kokkos at the moment. Also I am not sure that I would want that for now. Using contention groups in any productive way is probably even more complex than using teams as such. So I think any real discussion over this can probably wait for a while.

@mhoemmen
Copy link
Contributor Author

I'm OK with that -- I just want to document the issue.

Would OpenCL's restriction of atomics to within a team be the same thing as "contention groups"? Just curious.

@crtrott
Copy link
Member

crtrott commented Jan 25, 2016

OK closing this issue, we can discuss contention groups in a few years again ;-)

@crtrott crtrott closed this as completed Jan 25, 2016
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

No branches or pull requests

2 participants