Skip to content

[SYCL][Reduction] Make reducer uncopyable and immovable #8654

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

Conversation

steffenlarsen
Copy link
Contributor

@steffenlarsen steffenlarsen commented Mar 14, 2023

According to the SYCL 2020 specification, the reducer class should be neither moveable nor copyable. This commit deletes these constructors and assignment operators.

Fixes #6065

According to the SYCL 2020 specification, the reducer class should be
neither moveable nor copyable. This commit deletes these constructors
and assignment operators.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team as a code owner March 14, 2023 21:40
@steffenlarsen steffenlarsen temporarily deployed to aws March 14, 2023 22:07 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws March 14, 2023 22:36 — with GitHub Actions Inactive
@Pennycook Pennycook linked an issue Mar 15, 2023 that may be closed by this pull request
@AlexeySachkov AlexeySachkov requested a review from a team March 16, 2023 09:23
Copy link
Contributor

@KornevNikita KornevNikita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. One question - should we test the case from original issue? #6065

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen temporarily deployed to aws March 16, 2023 11:38 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws March 16, 2023 12:09 — with GitHub Actions Inactive
@AlexeySachkov
Copy link
Contributor

@sergey-semenov, @intel/llvm-reviewers-runtime, could you please take a look?

@steffenlarsen steffenlarsen merged commit 7c7efee into intel:sycl Mar 21, 2023
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.

reducer is missing deleted members
4 participants