biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c68d61e
)
Actually disable GPU when compiling in double
author
Christoph Junghans
<junghans@votca.org>
Thu, 1 Nov 2012 03:40:51 +0000
(21:40 -0600)
committer
Christoph Junghans
<junghans@votca.org>
Thu, 1 Nov 2012 03:40:51 +0000
(21:40 -0600)
Change-Id: Iefb877f066c5f1b923bb7771323fedff9c1b85dc
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 3c4f212b23444e866047c095e71e592b4bd038da..3991799b36f13de1d4677259945c9886f02658ff 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-537,6
+537,9
@@
if(GMX_GPU)
message(WARNING "GPU acceleration is not available in double precision, disabled!")
set(GMX_GPU OFF CACHE BOOL "Enable GPU acceleration" FORCE)
endif()
+endif(GMX_GPU)
+
+if(GMX_GPU)
# We support CUDA >=v3.2 on *nix, but <= v4.1 doesn't work with MSVC
if(MSVC)