Commit ede7c140 authored by Markus Rampp's avatar Markus Rampp

add cmake support for V100 GPUs/cuda9/compute_70

parent a53fc419
Pipeline #33529 passed with stages
in 1 minute and 31 seconds
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment