Merge origin/release-2019 into release-2020
[alexxy/gromacs.git] / src / gromacs / mdlib / forcerec.cpp
index b702a4a2552b91a025493e0720474fe4fc578451..c8a42aac5896ea3b95e02b2d792eb07133607c95 100644 (file)
@@ -1438,7 +1438,7 @@ void init_forcerec(FILE*                            fp,
 
         if (useGpuForBonded)
         {
-            auto stream = DOMAINDECOMP(cr)
+            auto stream = havePPDomainDecomposition(cr)
                                   ? Nbnxm::gpu_get_command_stream(
                                             fr->nbv->gpu_nbv, gmx::InteractionLocality::NonLocal)
                                   : Nbnxm::gpu_get_command_stream(fr->nbv->gpu_nbv,