Also print 1x1 pair-list setup to log
[alexxy/gromacs.git] / src / gromacs / mdlib / nbnxn_tuning.h
index 4f65131e5359317a60c86e51dc5026b613c37c8f..47f3f6bf6504799f71ba79e5c53a7f585c5cf00e 100644 (file)
@@ -53,6 +53,7 @@
 namespace gmx
 {
 class CpuInfo;
+class MDLogger;
 }
 
 struct gmx_mtop_t;
@@ -81,19 +82,19 @@ void increaseNstlist(FILE *fplog, t_commrec *cr,
 
 /*! \brief Set up the dynamic pairlist pruning
  *
- * \param[in,out] fplog       Log file
- * \param[in]     ir          The input parameter record
- * \param[in]     mtop        The global topology
- * \param[in]     box         The unit cell
- * \param[in]     useGpu      Tells if we are using a GPU for non-bondeds
- * \param[in]     ic          The nonbonded interactions constants
- * \param[in,out] listParams  The list setup parameters
+ * \param[in,out] mdlog            MD logger
+ * \param[in]     ir               The input parameter record
+ * \param[in]     mtop             The global topology
+ * \param[in]     box              The unit cell
+ * \param[in]     nbnxnKernelType  The type of nbnxn kernel used
+ * \param[in]     ic               The nonbonded interactions constants
+ * \param[in,out] listParams       The list setup parameters
  */
-void setupDynamicPairlistPruning(FILE                      *fplog,
+void setupDynamicPairlistPruning(const gmx::MDLogger       &mdlog,
                                  const t_inputrec          *ir,
                                  const gmx_mtop_t          *mtop,
                                  matrix                     box,
-                                 bool                       useGpu,
+                                 int                        nbnxnKernelType,
                                  const interaction_const_t *ic,
                                  NbnxnListParameters       *listParams);