Require padded atom data for PME GPU
[alexxy/gromacs.git] / src / gromacs / ewald / pme_gpu.cpp
index cbcab23b1a16dce5c7b5a0e9ab6e62d1009df7f1..91596e77d483be31bca315568ae91da3671ea087 100644 (file)
@@ -99,7 +99,7 @@ void pme_gpu_get_timings(const gmx_pme_t* pme, gmx_wallclock_gpu_pme_t* timings)
     }
 }
 
-int pme_gpu_get_padding_size(const gmx_pme_t* pme)
+int pme_gpu_get_block_size(const gmx_pme_t* pme)
 {
 
     if (!pme || !pme_gpu_active(pme))
@@ -108,7 +108,7 @@ int pme_gpu_get_padding_size(const gmx_pme_t* pme)
     }
     else
     {
-        return pme_gpu_get_atom_data_alignment(pme->gpu);
+        return pme_gpu_get_atom_data_block_size();
     }
 }