Merge branch 'release-2019' into master
[alexxy/gromacs.git] / src / gromacs / ewald / tests / pmetestcommon.cpp
index c3fe624c5ca9904fcca3964f0f9bc4ef8d4a7dd8..ad8905d0fdd27587f95514e1f21e07489f1e5adf 100644 (file)
@@ -85,7 +85,8 @@ bool pmeSupportsInputForMode(const gmx_hw_info_t &hwinfo,
             break;
 
         case CodePath::GPU:
-            implemented = (pme_gpu_supports_build(hwinfo, nullptr) &&
+            implemented = (pme_gpu_supports_build(nullptr) &&
+                           pme_gpu_supports_hardware(hwinfo, nullptr) &&
                            pme_gpu_supports_input(*inputRec, mtop, nullptr));
             break;