Require padded atom data for PME GPU
[alexxy/gromacs.git] / src / gromacs / ewald / tests / pmetestcommon.cpp
index 787f3e9f424951df85d7fe26d7d72f3ec217112d..80960b647ae94d76d75846eb3549bfac6c74d489 100644 (file)
@@ -168,7 +168,7 @@ std::unique_ptr<StatePropagatorDataGpu> makeStatePropagatorDataGpu(const gmx_pme
     //       restrict one from using other constructor here.
     return std::make_unique<StatePropagatorDataGpu>(pme_gpu_get_device_stream(&pme), deviceContext,
                                                     GpuApiCallBehavior::Sync,
-                                                    pme_gpu_get_padding_size(&pme), nullptr);
+                                                    pme_gpu_get_block_size(&pme), nullptr);
 }
 
 //! PME initialization with atom data