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
9ecb1797
Commit
9ecb1797
authored
Mar 24, 2010
by
Peter Eastman
Browse files
Updated nvcc flags for CUDA 3.0
parent
8196dbf7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
cmake_modules/FindCUDA.cmake
cmake_modules/FindCUDA.cmake
+1
-2
No files found.
cmake_modules/FindCUDA.cmake
View file @
9ecb1797
...
...
@@ -371,8 +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
)
# Extra user settable flags
# set(CUDA_NVCC_FLAGS "-maxrregcount=32;-use_fast_math;-O0;-arch=sm_11" CACHE STRING "Semi-colon delimit multiple arguments.")
SET
(
CUDA_NVCC_FLAGS
"--maxrregcount=32;-gencode;arch=compute_11,code=sm_11;-gencode;arch=compute_13,code=sm_13;-use_fast_math;-O0"
CACHE STRING
"Semi-colon delimit multiple arguments."
)
SET
(
CUDA_NVCC_FLAGS
"-gencode;arch=compute_11,code=sm_11;-gencode;arch=compute_13,code=sm_13;-gencode;arch=compute_20,code=sm_20;-use_fast_math"
CACHE STRING
"Semi-colon delimit multiple arguments."
)
# 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
)
...
...
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