Use MessageStringCollector class to construct error messages
[alexxy/gromacs.git] / src / gromacs / nbnxm / nbnxm.h
index e22e3a089fc7f3ce60179fe21c6e68ef3ecd0ae3..5195a61f92bda15c440f354a05c4f7cbcdbffc2a 100644 (file)
@@ -496,4 +496,11 @@ void nbnxn_put_on_grid_nonlocal(nonbonded_verlet_t*              nb_verlet,
                                 gmx::ArrayRef<const int>         atomInfo,
                                 gmx::ArrayRef<const gmx::RVec>   x);
 
+/*! \brief Check if GROMACS has been built with GPU support.
+ *
+ * \param[in] error Pointer to error string or nullptr.
+ * \todo Move this to NB module once it exists.
+ */
+bool buildSupportsNonbondedOnGpu(std::string* error);
+
 #endif // GMX_NBNXN_NBNXM_H