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

Restrict atomic_ref types in accordance with the spec #32

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

Conversation

PeterTh
Copy link
Collaborator

@PeterTh PeterTh commented Dec 29, 2024

I ran into this while developing some code with SimSYCL and then executing it on other platforms.

SimSYCL (helpfully, and, in my opinion, unproblematically) allows atomic_ref<bool>, but the spec does not.
It's easier to fix SimSYCL for now than the spec.

While implementing this we also found that it's currently very strange for the spec to list a limited set of types -- specifically not including any pointers -- but also a specialization for pointers. Some clarification seems needed there.

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