Add more missing Kokkos data movement

This commit is contained in:
Stan Moore
2022-06-28 15:04:10 -06:00
committed by Axel Kohlmeyer
parent 67597722d5
commit 53806d4601

View File

@ -495,6 +495,7 @@ double MinKokkos::energy_force(int resetflag)
if (force->newton) {
comm->reverse_comm();
timer->stamp(Timer::COMM);
atomKK->sync(Device,F_MASK);
}
// update per-atom minimization variables stored by pair styles
@ -567,7 +568,7 @@ void MinKokkos::force_clear()
}
});
}
atomKK->modified(Device,F_MASK);
atomKK->modified(Device,F_MASK|TORQUE_MASK);
}
/* ----------------------------------------------------------------------