Skip to content
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

Avoid some unnecessary fences in parallel_reduce/scan #5154

Merged
merged 3 commits into from
Jul 1, 2022

Conversation

masterleinad
Copy link
Contributor

Noticed while working on #5146.

The final fences for parallel_reduce and parallel_scan are in the interface calling the backend-specific implementations.
Also, make sure to enqueue the final copy events instead of fencing and using the default execution space.

@masterleinad masterleinad marked this pull request as ready for review June 29, 2022 17:15
@crtrott crtrott merged commit db4a414 into kokkos:develop Jul 1, 2022
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.

None yet

3 participants