From f0208c66a68519757f598ac7b4fa34bf223c4399 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Tue, 7 Jan 2020 10:29:44 +0000 Subject: [PATCH] Now compiles also for P100 by default (was removed accidentally in earlier commits) --- src/core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index ef9bbc0..e75ee93 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -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)