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
db44ff57
Commit
db44ff57
authored
Jan 28, 2010
by
Peter Eastman
Browse files
Fixed incorrect nvcc flags
parent
0cb87771
Changes
1
Hide 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 @
db44ff57
...
@@ -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
"-gencode
arch=compute_1
0
,code=sm_1
0
;-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."
)
SET
(
CUDA_NVCC_FLAGS
"-gencode
;
arch=compute_1
1
,code=sm_1
1
;-gencode
;
arch=compute_13,code=sm_13;-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