Second attempt at getting bitbucket to compile

This commit is contained in:
jpekkila
2019-12-08 23:22:33 +02:00
parent 420f8b9e06
commit 752f44b0a7

View File

@@ -10,6 +10,7 @@ set(CMAKE_CXX_FLAGS_DEBUG "-g")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
# Require CUDA
find_package(CUDA REQUIRED)
set(CMAKE_CUDA_FLAGS "-gencode arch=compute_70,code=sm_70 -ftz=true --restrict")
# Compile kernels