forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12413 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
2a24e947f5
commit
ed06a4859e
|
@ -59,7 +59,7 @@ FFT3dCuda::FFT3dCuda(LAMMPS *lmp, MPI_Comm comm, int nfast, int nmid, int nslow,
|
|||
plan = fft_3d_create_plan(comm,nfast,nmid,nslow,
|
||||
in_ilo,in_ihi,in_jlo,in_jhi,in_klo,in_khi,
|
||||
out_ilo,out_ihi,out_jlo,out_jhi,out_klo,out_khi,
|
||||
scaled,permute,nbuf);
|
||||
scaled,permute,nbuf,0);
|
||||
#endif
|
||||
if (plan == NULL) error->one(FLERR,"Could not create 3d FFT plan");
|
||||
}
|
||||
|
|
|
@ -237,7 +237,7 @@ void FixAddForce::post_force(int vflag)
|
|||
|
||||
if (update->ntimestep % nevery) return;
|
||||
|
||||
if (lmp->kokkos->kokkos_exists)
|
||||
if (lmp->kokkos)
|
||||
atom->sync_modify(Host, (unsigned int) (F_MASK | MASK_MASK),
|
||||
(unsigned int) F_MASK);
|
||||
|
||||
|
|
Loading…
Reference in New Issue