-
Notifications
You must be signed in to change notification settings - Fork 68
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
Move cl::sycl::memory_order, atomic class and atomic operations to sycl namespace #542
Move cl::sycl::memory_order, atomic class and atomic operations to sycl namespace #542
Conversation
ea0a605
to
06d23f4
Compare
Should we add a note about this change to https://github.com/KhronosGroup/SYCL-Docs/blob/SYCL-2020/master/adoc/chapters/what_changed.adoc? |
I don't think this PR changes anything relative to SYCL 1.2.1. We just removed a redundant definition of the |
I think this change makes sense, thanks! Though on it's own I this will be a breaking change for the deprecated Technically in SYCL 2020 the From what I can tell this synopsis, the following synopsis for deprecated atomic free functions and a couple of member functions in the accessor synopsis are the only places where the |
I think this makes sense. At one point, we discussed the possibility of structuring the header file so that deprecated APIs are only available when |
I also moved the atomic class and atomic operations into the sycl namespace. |
Thanks, this looks good! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
One more review. |
WG approved to merge |
Move cl::sycl::memory_order, atomic class and atomic operations to sycl namespace
Move cl::sycl::memory_order, atomic class and atomic operations to sycl namespace (cherry picked from commit b8ae78b)
Move cl::sycl::memory_order, atomic class and atomic operations to sycl namespace (cherry picked from commit b8ae78b)
Developers can use sycl::memory_order.