Skip to content

SYCL: Implement sub_group_mask copy assignment operator #10885

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

Closed

Conversation

masterleinad
Copy link
Contributor

Fixes #10564 (comment). It's not clear why the copy assignment operator was deleted instead of providing a proper implementation and this causes issues downstream, e.g., in https://github.com/desul/desul/blob/d2a78e176e0a30f5893c596012d1115df5289be7/atomics/include/desul/atomics/Compare_Exchange_SYCL.hpp#L106.
This pull request rather implements the copy assignment operator for sub_group_mask than deleting it. It looks like the copy constructor and the copy assignment operator could be defaulted instead but maybe (implicitly) deleting the move constructor and move copy assignment operator is intentional.

@masterleinad
Copy link
Contributor Author

Superseded by #10886.

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