Now compiles also for P100 by default (was removed accidentally in earlier commits)

This commit is contained in:
jpekkila
2020-01-07 10:29:44 +00:00
parent e4f7214b3a
commit f0208c66a6

View File

@@ -11,7 +11,7 @@ set(CMAKE_CXX_FLAGS_RELEASE "-O3")
# Require CUDA
find_package(CUDA REQUIRED)
set(CMAKE_CUDA_FLAGS "-gencode arch=compute_70,code=sm_70 --restrict")
set(CMAKE_CUDA_FLAGS "-gencode arch=compute_60,code=sm_60 -gencode arch=compute_70,code=sm_70 --restrict")
# Compile kernels
add_library(astaroth_kernels STATIC kernels/boundconds.cu kernels/integration.cu kernels/reductions.cu)