Add more missing Kokkos data movement
This commit is contained in:
committed by
Axel Kohlmeyer
parent
67597722d5
commit
53806d4601
@ -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);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user