Update Kokkos library in LAMMPS to v4.5.0

This commit is contained in:
Stan Moore
2024-12-13 09:23:03 -07:00
parent a78aee5731
commit 7f68aeb6d5
617 changed files with 21499 additions and 17255 deletions

View File

@ -86,9 +86,9 @@ struct TestFunctorA {
case 2: {
auto it = KE::find_end(member, KE::cbegin(myRowViewFrom),
KE::cend(myRowViewFrom),
KE::cbegin(myRowSearchedSeqView),
KE::cend(myRowSearchedSeqView), m_binaryPred);
KE::cend(myRowViewFrom),
KE::cbegin(myRowSearchedSeqView),
KE::cend(myRowSearchedSeqView), m_binaryPred);
resultDist = KE::distance(KE::cbegin(myRowViewFrom), it);
Kokkos::single(Kokkos::PerTeam(member), [=, *this]() {
m_distancesView(myRowIndex) = resultDist;
@ -99,7 +99,7 @@ struct TestFunctorA {
case 3: {
auto it = KE::find_end(member, myRowViewFrom, myRowSearchedSeqView,
m_binaryPred);
m_binaryPred);
resultDist = KE::distance(KE::begin(myRowViewFrom), it);
Kokkos::single(Kokkos::PerTeam(member), [=, *this]() {
m_distancesView(myRowIndex) = resultDist;