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

OpenMPTarget: Fix bug in for the case of a reducer. #4044

Merged
merged 3 commits into from
Jun 3, 2021

Conversation

rgayatri23
Copy link
Contributor

The PR replace + with join in case when nested reduction is performed on a reducer.

dalg24
dalg24 previously approved these changes May 24, 2021
@@ -1641,7 +1641,8 @@ KOKKOS_INLINE_FUNCTION
for (iType i = loop_boundaries.start; i < loop_boundaries.end; i++) {
ValueType tmp = ValueType();
Copy link
Contributor

Choose a reason for hiding this comment

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

This should likely also be replaced by reducer.init(...).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Its a WIP. Sorry forgot to mark that label. Currently that loop is not encountered though.

@dalg24 dalg24 dismissed their stale review May 25, 2021 01:16

Non trivial changes have been pushed since approval

@crtrott
Copy link
Member

crtrott commented Jun 2, 2021

What is the status?

@rgayatri23 rgayatri23 removed the [WIP] label Jun 3, 2021
@rgayatri23
Copy link
Contributor Author

What is the status?

This is ready for review.

@crtrott crtrott merged commit 9daac46 into kokkos:develop Jun 3, 2021
@rgayatri23 rgayatri23 deleted the OpenMPTarget_reduction_fix branch March 24, 2023 22:03
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

4 participants