Skip to content

[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

Merged
merged 10 commits into from
Aug 25, 2022

Conversation

KornevNikita
Copy link
Contributor

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.
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.
@KornevNikita KornevNikita requested a review from a team as a code owner August 19, 2022 12:26
KornevNikita added a commit to KornevNikita/llvm-test-suite that referenced this pull request Aug 19, 2022
SYCL 2020 defines a common property interface for accessor and host_accessor.
SYCL patch: intel/llvm#6614
@KornevNikita
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1165

@KornevNikita KornevNikita marked this pull request as draft August 19, 2022 13:54
@KornevNikita KornevNikita marked this pull request as ready for review August 19, 2022 13:59
@KornevNikita
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1165

@KornevNikita
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1165

@KornevNikita
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1165

@KornevNikita
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1165

steffenlarsen pushed a commit that referenced this pull request Aug 23, 2022
As discussed here #6614 has_property() version for non compile-time-properties should be marked as `noexcept`.
@KornevNikita
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1165

@KornevNikita
Copy link
Contributor Author

@romanovvlad @steffenlarsen @AlexeySachkov applied all suggestions, take one more look please. llvm-test-suite failure is not related to this patch.

AlexeySachkov
AlexeySachkov previously approved these changes Aug 24, 2022
Copy link
Contributor

@steffenlarsen steffenlarsen left a 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.

@steffenlarsen steffenlarsen merged commit da7dcf8 into intel:sycl Aug 25, 2022
steffenlarsen pushed a commit to intel/llvm-test-suite that referenced this pull request Aug 26, 2022
SYCL 2020 defines a common property interface for accessor and host_accessor.
SYCL patch: intel/llvm#6614
@KornevNikita KornevNikita deleted the accessor-property-interface branch September 2, 2022 14:23
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
SYCL 2020 defines a common property interface for accessor and host_accessor.
SYCL patch: intel#6614
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.

6 participants