forked from lijiext/lammps
Fixing GPU memory issue in modify_kokkos, need to cherry pick back to Master
This commit is contained in:
parent
3af4b3c28c
commit
5ce8e2fbae
|
@ -360,9 +360,7 @@ void ModifyKokkos::post_run()
|
|||
for (int i = 0; i < nfix; i++) {
|
||||
atomKK->sync(fix[i]->execution_space,
|
||||
fix[i]->datamask_read);
|
||||
if (!fix[i]->kokkosable) lmp->kokkos->auto_sync = 1;
|
||||
fix[i]->post_run();
|
||||
lmp->kokkos->auto_sync = 0;
|
||||
atomKK->modified(fix[i]->execution_space,
|
||||
fix[i]->datamask_modify);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue