biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplified uniform GPU selection in CMake
[alexxy/gromacs.git]
/
src
/
gromacs
/
mdtypes
/
state_propagator_data_gpu_impl.cpp
diff --git
a/src/gromacs/mdtypes/state_propagator_data_gpu_impl.cpp
b/src/gromacs/mdtypes/state_propagator_data_gpu_impl.cpp
index 1600c7a062fbc9c26a162b57a0b7fa7dc99d5b0e..3274d3dd02bf8892e3de11f951669fcdb578e1f7 100644
(file)
--- a/
src/gromacs/mdtypes/state_propagator_data_gpu_impl.cpp
+++ b/
src/gromacs/mdtypes/state_propagator_data_gpu_impl.cpp
@@
-46,7
+46,7
@@
#include "gromacs/mdtypes/state_propagator_data_gpu.h"
-#if
GMX_GPU == GMX_GPU_NONE
+#if
!GMX_GPU
namespace gmx
{
@@
-265,4
+265,4
@@
int StatePropagatorDataGpu::numAtomsAll()
} // namespace gmx
-#endif //
GMX_GPU == GMX_GPU_NONE
+#endif //
!GMX_GPU