Enable GPU PME unit tests
authorAndrey Alekseenko <al42and@gmail.com>
Thu, 9 Sep 2021 13:06:39 +0000 (13:06 +0000)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 9 Sep 2021 13:06:39 +0000 (13:06 +0000)
src/gromacs/ewald/tests/pmetestcommon.cpp

index eb1e170411bbf090582852ed283fe65824919143..7cdabb9c498013f0573108aa17b4e119aeddb601 100644 (file)
@@ -1,7 +1,8 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2018,2019,2020 by the GROMACS development team.
+ * Copyright (c) 2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -888,7 +889,7 @@ const char* codePathToString(CodePath codePath)
 PmeTestHardwareContext::PmeTestHardwareContext() : codePath_(CodePath::CPU) {}
 
 PmeTestHardwareContext::PmeTestHardwareContext(TestDevice* testDevice) :
-    codePath_(CodePath::CPU),
+    codePath_(CodePath::GPU),
     testDevice_(testDevice)
 {
     setActiveDevice(testDevice_->deviceInfo());