diff --git a/src/USER-CUDA/fft3d_wrap_cuda.cpp b/src/USER-CUDA/fft3d_wrap_cuda.cpp index 0599240662..80fc7b8228 100644 --- a/src/USER-CUDA/fft3d_wrap_cuda.cpp +++ b/src/USER-CUDA/fft3d_wrap_cuda.cpp @@ -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"); } diff --git a/src/fix_addforce.cpp b/src/fix_addforce.cpp index baa09bb794..4e57a604af 100644 --- a/src/fix_addforce.cpp +++ b/src/fix_addforce.cpp @@ -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);