Switch GPU update off by default
authorSzilárd Páll <pall.szilard@gmail.com>
Fri, 27 Sep 2019 13:11:32 +0000 (15:11 +0200)
committerArtem Zhmurov <zhmurov@gmail.com>
Fri, 27 Sep 2019 20:33:29 +0000 (22:33 +0200)
The code-path is untested and not fit for being on by default, so better
kept off until it becomes stable and better tested.

Change-Id: Ia651b0ae2f0f6751c13ea6857cdf6d176b83e34e

src/gromacs/taskassignment/decidegpuusage.cpp

index 148765993527815ea50a04859ba09872a9fa3719..67063ff85807e6e33489342d4d0c8351a0edb18c 100644 (file)
@@ -575,8 +575,7 @@ bool decideWhetherToUseGpuForUpdate(bool              isDomainDecomposition,
         }
         return false;
     }
-
-    return true;
+    return (updateTarget == TaskTarget::Gpu);
 }
 
 }  // namespace gmx