Clean up ewald module internals
[alexxy/gromacs.git] / src / gromacs / ewald / pme_gpu_3dfft.cu
index 16bde23684d9a64d7dc52814bf1b9f1958a39053..2b30dcdef14899569b81aead9c14501665068cfc 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2018,2019,2020, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -71,7 +71,8 @@ GpuParallel3dFft::GpuParallel3dFft(const PmeGpu* pmeGpu)
         complexGridSizePadded[i] = kernelParamsPtr->grid.complexGridSizePadded[i];
     }
 
-    GMX_RELEASE_ASSERT(!pme_gpu_uses_dd(pmeGpu), "FFT decomposition not implemented");
+    GMX_RELEASE_ASSERT(!pme_gpu_settings(pmeGpu).useDecomposition,
+                       "FFT decomposition not implemented");
 
     const int complexGridSizePaddedTotal =
             complexGridSizePadded[XX] * complexGridSizePadded[YY] * complexGridSizePadded[ZZ];