Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
3d726655
Commit
3d726655
authored
Nov 24, 2009
by
Christopher Bruns
Browse files
Turn on free energy plugin by default
Set NVCC_FLAGS to particular value in new cmake_modules/FindCUDA.cmake
parent
ca21532c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
cmake_modules/FindCUDA.cmake
cmake_modules/FindCUDA.cmake
+1
-1
No files found.
CMakeLists.txt
View file @
3d726655
...
@@ -348,7 +348,7 @@ MARK_AS_ADVANCED(CLEAR OPENCL_LIBRARY)
...
@@ -348,7 +348,7 @@ MARK_AS_ADVANCED(CLEAR OPENCL_LIBRARY)
# FreeEnergy plugin
# FreeEnergy plugin
SET
(
OPENMM_BUILD_FREE_ENERGY_PLUGIN O
FF
CACHE BOOL
"Build FreeEnergy plugin"
)
SET
(
OPENMM_BUILD_FREE_ENERGY_PLUGIN O
N
CACHE BOOL
"Build FreeEnergy plugin"
)
SET
(
OPENMM_BUILD_FREE_ENERGY_PATH
)
SET
(
OPENMM_BUILD_FREE_ENERGY_PATH
)
IF
(
OPENMM_BUILD_FREE_ENERGY_PLUGIN
)
IF
(
OPENMM_BUILD_FREE_ENERGY_PLUGIN
)
SET
(
OPENMM_BUILD_FREE_ENERGY_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/plugins/freeEnergy
)
SET
(
OPENMM_BUILD_FREE_ENERGY_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/plugins/freeEnergy
)
...
...
cmake_modules/FindCUDA.cmake
View file @
3d726655
...
@@ -371,7 +371,7 @@ set(CUDA_GENERATED_OUTPUT_DIR "" CACHE PATH "Directory to put all the output fil
...
@@ -371,7 +371,7 @@ set(CUDA_GENERATED_OUTPUT_DIR "" CACHE PATH "Directory to put all the output fil
option
(
CUDA_HOST_COMPILATION_CPP
"Generated file extension"
ON
)
option
(
CUDA_HOST_COMPILATION_CPP
"Generated file extension"
ON
)
# Extra user settable flags
# Extra user settable flags
set
(
CUDA_NVCC_FLAGS
""
CACHE STRING
"Semi-colon delimit multiple arguments."
)
set
(
CUDA_NVCC_FLAGS
"
-maxrregcount=32;-use_fast_math;-O0;-arch=sm_11
"
CACHE STRING
"Semi-colon delimit multiple arguments."
)
# Propagate the host flags to the host compiler via -Xcompiler
# Propagate the host flags to the host compiler via -Xcompiler
option
(
CUDA_PROPAGATE_HOST_FLAGS
"Propage C/CXX_FLAGS and friends to the host compiler via -Xcompile"
ON
)
option
(
CUDA_PROPAGATE_HOST_FLAGS
"Propage C/CXX_FLAGS and friends to the host compiler via -Xcompile"
ON
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment