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: MDRange with TagType for parallel_for. #3781

Merged
merged 1 commit into from
Feb 5, 2021

Conversation

rgayatri23
Copy link
Contributor

This PR includes :

  1. TagType implementation for MDRange policy in parallel_for.
  2. Unlock the respective unit tests.

Feature needed for lammps.

@rgayatri23 rgayatri23 added the Feature Request Create new capability; will potentially require voting label Feb 5, 2021
Copy link
Contributor

@masterleinad masterleinad left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@@ -263,8 +282,12 @@ class ParallelFor<FunctorType, Kokkos::MDRangePolicy<Traits...>,
for (ptrdiff_t i0 = begin_0; i0 < end_0; i0++)
for (ptrdiff_t i1 = begin_1; i1 < end_1; i1++)
for (ptrdiff_t i2 = begin_2; i2 < end_2; i2++)
for (ptrdiff_t i3 = begin_3; i3 < end_3; i3++)
functor(i0, i1, i2, i3);
for (ptrdiff_t i3 = begin_3; i3 < end_3; i3++) {
Copy link
Member

Choose a reason for hiding this comment

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

I would prefer you being consistent with the curly brace. Put everywhere or nowhere.

@crtrott crtrott merged commit 4b722b7 into kokkos:develop Feb 5, 2021
@rgayatri23 rgayatri23 deleted the OpenMPTarget_MDRange_TagType 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
Feature Request Create new capability; will potentially require voting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants