Update Kokkos library in LAMMPS to v4.5.0
This commit is contained in:
@ -62,8 +62,8 @@ struct TestFunctorA {
|
||||
switch (m_apiPick) {
|
||||
case 0: {
|
||||
auto it = KE::adjacent_difference(member, KE::cbegin(myRowViewFrom),
|
||||
KE::cend(myRowViewFrom),
|
||||
KE::begin(myRowViewDest));
|
||||
KE::cend(myRowViewFrom),
|
||||
KE::begin(myRowViewDest));
|
||||
resultDist = KE::distance(KE::begin(myRowViewDest), it);
|
||||
Kokkos::single(Kokkos::PerTeam(member), [=, *this]() {
|
||||
m_distancesView(myRowIndex) = resultDist;
|
||||
@ -73,8 +73,8 @@ struct TestFunctorA {
|
||||
|
||||
case 1: {
|
||||
auto it = KE::adjacent_difference(member, KE::cbegin(myRowViewFrom),
|
||||
KE::cend(myRowViewFrom),
|
||||
KE::begin(myRowViewDest), m_binaryOp);
|
||||
KE::cend(myRowViewFrom),
|
||||
KE::begin(myRowViewDest), m_binaryOp);
|
||||
resultDist = KE::distance(KE::begin(myRowViewDest), it);
|
||||
Kokkos::single(Kokkos::PerTeam(member), [=, *this]() {
|
||||
m_distancesView(myRowIndex) = resultDist;
|
||||
|
||||
Reference in New Issue
Block a user