diff --git a/src/KOKKOS/dihedral_opls_kokkos.cpp b/src/KOKKOS/dihedral_opls_kokkos.cpp index ff28391ec3..ed4a5b259c 100644 --- a/src/KOKKOS/dihedral_opls_kokkos.cpp +++ b/src/KOKKOS/dihedral_opls_kokkos.cpp @@ -85,13 +85,10 @@ void DihedralOPLSKokkos::compute(int eflag_in, int vflag_in) d_vatom = k_vatom.d_view; } - atomKK->sync(execution_space,datamask_read); k_k1.template sync(); k_k2.template sync(); k_k3.template sync(); k_k4.template sync(); - if (eflag || vflag) atomKK->modified(execution_space,datamask_modify); - else atomKK->modified(execution_space,F_MASK); x = atomKK->k_x.view(); f = atomKK->k_f.view(); diff --git a/src/KOKKOS/pppm_kokkos.cpp b/src/KOKKOS/pppm_kokkos.cpp index de9c0ae630..6f91d91e46 100644 --- a/src/KOKKOS/pppm_kokkos.cpp +++ b/src/KOKKOS/pppm_kokkos.cpp @@ -646,10 +646,7 @@ void PPPMKokkos::compute(int eflag, int vflag) x = atomKK->k_x.view(); f = atomKK->k_f.view(); q = atomKK->k_q.view(); - - atomKK->sync(execution_space,datamask_read); - atomKK->modified(execution_space,datamask_modify); - + //nlocal = atomKK->nlocal; //nall = atomKK->nlocal + atomKK->nghost; //newton_pair = force->newton_pair;