Skip to content

[SYCL][Reduction][NFCI] Make atomic_ref arg in atomic functor a move #8194

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

This commit changes the first parameter in the AtomicFunctor function object of atomic_combine_impl an rvalue reference and std::move the atomic_ref when calling it.

This commit changes the first parameter in the AtomicFunctor function
object of atomic_combine_impl an rvalue reference and std::move the
atomic_ref when calling it.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner February 3, 2023 09:40
@steffenlarsen steffenlarsen temporarily deployed to aws February 3, 2023 10:07 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws February 3, 2023 10:45 — with GitHub Actions Inactive
@steffenlarsen
Copy link
Contributor Author

HIP Failed Tests (1):
SYCL :: KernelAndProgram/spec_constants_after_link.cpp
Fixed in intel/llvm-test-suite#1572

@steffenlarsen steffenlarsen merged commit 3758404 into intel:sycl Feb 3, 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.

2 participants