git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12413 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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,
|
plan = fft_3d_create_plan(comm,nfast,nmid,nslow,
|
||||||
in_ilo,in_ihi,in_jlo,in_jhi,in_klo,in_khi,
|
in_ilo,in_ihi,in_jlo,in_jhi,in_klo,in_khi,
|
||||||
out_ilo,out_ihi,out_jlo,out_jhi,out_klo,out_khi,
|
out_ilo,out_ihi,out_jlo,out_jhi,out_klo,out_khi,
|
||||||
scaled,permute,nbuf);
|
scaled,permute,nbuf,0);
|
||||||
#endif
|
#endif
|
||||||
if (plan == NULL) error->one(FLERR,"Could not create 3d FFT plan");
|
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 (update->ntimestep % nevery) return;
|
||||||
|
|
||||||
if (lmp->kokkos->kokkos_exists)
|
if (lmp->kokkos)
|
||||||
atom->sync_modify(Host, (unsigned int) (F_MASK | MASK_MASK),
|
atom->sync_modify(Host, (unsigned int) (F_MASK | MASK_MASK),
|
||||||
(unsigned int) F_MASK);
|
(unsigned int) F_MASK);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user