Commit 5ce8e2fb authored by Stan Moore's avatar Stan Moore
Browse files

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

parent 3af4b3c2
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);
  }