-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL][ABI-Break] Support accessor property interface #6614
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
[SYCL][ABI-Break] Support accessor property interface #6614
Conversation
SYCL 2020 defines a common property interface for accessor and host_accessor. Currently the DPC++ implementation of these classes take property list as a constructor argument but does not store them. In order to add the remaining interfaces the property lists must be stored on accessor and host_accessor, which is likely to break ABI.
SYCL 2020 defines a common property interface for accessor and host_accessor. SYCL patch: intel/llvm#6614
/verify with intel/llvm-test-suite#1165 |
/verify with intel/llvm-test-suite#1165 |
/verify with intel/llvm-test-suite#1165 |
/verify with intel/llvm-test-suite#1165 |
/verify with intel/llvm-test-suite#1165 |
As discussed here #6614 has_property() version for non compile-time-properties should be marked as `noexcept`.
/verify with intel/llvm-test-suite#1165 |
@romanovvlad @steffenlarsen @AlexeySachkov applied all suggestions, take one more look please. llvm-test-suite failure is not related to this patch. |
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, but we should remember to increment SYCL_DEV_ABI_VERSION
with ABI breaks. I think we may have neglected it in a couple patches, but better do it while we remember.
SYCL 2020 defines a common property interface for accessor and host_accessor. SYCL patch: intel/llvm#6614
SYCL 2020 defines a common property interface for accessor and host_accessor. SYCL patch: intel#6614
SYCL 2020 defines a common property interface for accessor and host_accessor.
Currently the DPC++ implementation of these classes take property list as a
constructor argument but does not store them. In order to add the remaining
interfaces the property lists must be stored on accessor and host_accessor,
which is likely to break ABI.