Skip to content

Commit

Permalink
Merge pull request #13535 from dalg24/atomics_ftad
Browse files Browse the repository at this point in the history
Stokhos: Do not specify template arg when using Kokkos atomics
  • Loading branch information
ndellingwood authored Oct 16, 2024
2 parents b71b9fb + 80c26dc commit 03b6be8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ struct innerF
if (team.team_rank() == 0)
{
tmp *= alpha_;
Kokkos::atomic_add<Scalar>(&y_(i), tmp);
Kokkos::atomic_add(&y_(i), tmp);
}
}
for (IndexType i = 0; i < i_min; ++i)
Expand All @@ -144,7 +144,7 @@ struct innerF
if (team.team_rank() == 0)
{
tmp *= alpha_;
Kokkos::atomic_add<Scalar>(&y_(i), tmp);
Kokkos::atomic_add(&y_(i), tmp);
}
}
}
Expand Down

0 comments on commit 03b6be8

Please sign in to comment.