From ed06a4859ee36949552ff56b968c32e5ad61cb67 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 5 Sep 2014 15:31:41 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12413 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/USER-CUDA/fft3d_wrap_cuda.cpp | 2 +- src/fix_addforce.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);