-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Change sub_group_mask copy-assignment operator to default #10886
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] Change sub_group_mask copy-assignment operator to default #10886
Conversation
As part of version two of [sycl_ext_oneapi_sub_group_mask](https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/supported/sycl_ext_oneapi_sub_group_mask.asciidoc) the copy-asssignment operator is defined as default but were deleted as part of intel#10564. This changes them to `default` ahead of version 2 of the extension to avoid regressions. Signed-off-by: Larsen, Steffen <[email protected]>
Ah, I had #10885 already opened.
Either would work since version 1 didn't have any user-provided constructor or assignments operators but they were implicitly generated (and not deleted). The problem really is that the current implementation neither conforms to version 1 nor 2, probably because the existence of the
avoids all other constructors being implicitly defined. |
Signed-off-by: Larsen, Steffen <[email protected]>
I was made aware of your patch right after I opened this! Personally, I would prefer |
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.
LGTM
CI failure caused by device issue similar to #10460. |
As part of version two of sycl_ext_oneapi_sub_group_mask the copy-asssignment operator is defined as default but were deleted as part of #10564. This changes them to
default
ahead of version 2 of the extension to avoid regressions.