mirror of https://github.com/lammps/lammps.git
Fixing Kokkos bug
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14467 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
eebf110e02
commit
eb105410ad
|
@ -1297,6 +1297,8 @@ void AtomVecAtomicKokkos::data_atom(double *coord, tagint imagetmp,
|
||||||
h_v(nlocal,1) = 0.0;
|
h_v(nlocal,1) = 0.0;
|
||||||
h_v(nlocal,2) = 0.0;
|
h_v(nlocal,2) = 0.0;
|
||||||
|
|
||||||
|
atomKK->modified(Host,ALL_MASK);
|
||||||
|
|
||||||
atom->nlocal++;
|
atom->nlocal++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1383,6 +1383,8 @@ void AtomVecChargeKokkos::data_atom(double *coord, imageint imagetmp,
|
||||||
h_v(nlocal,1) = 0.0;
|
h_v(nlocal,1) = 0.0;
|
||||||
h_v(nlocal,2) = 0.0;
|
h_v(nlocal,2) = 0.0;
|
||||||
|
|
||||||
|
atomKK->modified(Host,ALL_MASK);
|
||||||
|
|
||||||
atom->nlocal++;
|
atom->nlocal++;
|
||||||
}
|
}
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue