Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MPIBP-Hummer
BioEM
Commits
ede7c140
Commit
ede7c140
authored
Jul 20, 2018
by
Markus Rampp
Browse files
add cmake support for V100 GPUs/cuda9/compute_70
parent
a53fc419
Pipeline
#33529
passed with stages
in 1 minute and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ede7c140
...
...
@@ -82,6 +82,9 @@ if (CUDA_FOUND)
if
(
NOT
(
${
CUDA_VERSION
}
LESS 8.0
))
list
(
APPEND CUDA_NVCC_FLAGS
"-gencode=arch=compute_60,code=[sm_60,sm_61]"
)
endif
()
if
(
NOT
(
${
CUDA_VERSION
}
LESS 9.0
))
list
(
APPEND CUDA_NVCC_FLAGS
"-gencode=arch=compute_70,code=sm_70"
)
endif
()
add_definitions
(
-DWITH_CUDA
)
set
(
BIOEM_CUDA_STATUS
"Found"
)
endif
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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