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:
34b3189
)
Set GMX_GPU_AUTO to FALSE with GMX_GPU defined
author
Aleksei Iupinov
<a.yupinov@gmail.com>
Wed, 20 Dec 2017 13:16:38 +0000
(14:16 +0100)
committer
Aleksei Iupinov
<a.yupinov@gmail.com>
Wed, 20 Dec 2017 13:17:49 +0000
(14:17 +0100)
Refs #1985, #2357
Change-Id: I5cada97015ee94717ea6eb988b3a84a351f11293
cmake/gmxManageGPU.cmake
patch
|
blob
|
history
diff --git
a/cmake/gmxManageGPU.cmake
b/cmake/gmxManageGPU.cmake
index e05511239bf1fa3ba38b72ff4c8f6bd3d4940528..42a7a22e29824e9de7c21ab5f984511a89868102 100644
(file)
--- a/
cmake/gmxManageGPU.cmake
+++ b/
cmake/gmxManageGPU.cmake
@@
-39,6
+39,8
@@
# - if CUDA is not found but GPUs were detected issue a warning
if (NOT DEFINED GMX_GPU)
set(GMX_GPU_AUTO TRUE CACHE INTERNAL "GPU acceleration will be selected automatically")
+else()
+ set(GMX_GPU_AUTO FALSE CACHE INTERNAL "GPU acceleration will be selected automatically")
endif()
option(GMX_GPU "Enable GPU acceleration" OFF)