Fixing GPU memory issue in modify_kokkos, need to cherry pick back to Master

This commit is contained in:
Stan Moore 2017-01-19 09:54:15 -07:00
parent 3af4b3c28c
commit 5ce8e2fbae
1 changed files with 0 additions and 2 deletions

View File

@ -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);
}