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
e8566500
"vscode:/vscode.git/clone" did not exist on "20af24c4b62f794001e24853b68b6da063ed4119"
Commit
e8566500
authored
Jan 28, 2010
by
Peter Eastman
Browse files
Changed default nvcc flags to support compute level 2.0
parent
7c22f611
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/cuda/cuda-cmake/FindCuda.cmake
platforms/cuda/cuda-cmake/FindCuda.cmake
+1
-1
No files found.
platforms/cuda/cuda-cmake/FindCuda.cmake
View file @
e8566500
...
@@ -117,7 +117,7 @@ ELSE(CUDA_BUILD_TYPE MATCHES "Emulation")
...
@@ -117,7 +117,7 @@ ELSE(CUDA_BUILD_TYPE MATCHES "Emulation")
ENDIF
(
CUDA_BUILD_TYPE MATCHES
"Emulation"
)
ENDIF
(
CUDA_BUILD_TYPE MATCHES
"Emulation"
)
SET
(
CUDA_BUILD_CUBIN TRUE CACHE BOOL
"Generate and parse .cubin files in Device mode."
)
SET
(
CUDA_BUILD_CUBIN TRUE CACHE BOOL
"Generate and parse .cubin files in Device mode."
)
SET
(
CUDA_NVCC_FLAGS
"-
maxrregcount=32
;-use_fast_math;-O0
;-arch=sm_11
"
CACHE STRING
"Semi-colon delimit multiple arguments."
)
SET
(
CUDA_NVCC_FLAGS
"-
gencode arch=compute_10,code=sm_10;-gencode arch=compute_13,code=sm_13;-gencode arch=compute_20,code=sm_20
;-use_fast_math;-O0"
CACHE STRING
"Semi-colon delimit multiple arguments."
)
# Search for the cuda distribution.
# Search for the cuda distribution.
IF
(
NOT CUDA_INSTALL_PREFIX
)
IF
(
NOT CUDA_INSTALL_PREFIX
)
...
...
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