Support GPU update without constraints
[alexxy/gromacs.git] / src / gromacs / mdlib / update_constrain_gpu.h
index ce23e1dfa04123e2298c60c18e34dc8be8ced217..9050039b13b7b52846746a1858d34a5be7c3320d 100644 (file)
@@ -178,6 +178,13 @@ public:
      */
     static bool isNumCoupledConstraintsSupported(const gmx_mtop_t& mtop);
 
+    /*! \brief
+     * Returns whether the constraints are supported by the GPU code.
+     *
+     * Currently true for CUDA, false for others.
+     */
+    static bool areConstraintsSupported();
+
 private:
     class Impl;
     std::unique_ptr<Impl> impl_;