From f8b8dbafc04ae27b1a230cfb760e94f0bc38e4ea Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Thu, 10 Mar 2016 09:45:27 -0300 Subject: CMakeLists.txt: fixed nvcc flags. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 74c9cec..ccc7e5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ if (OPENMP_FOUND) endif() # This is the only one tested, might work with other configs -set(CUDA_NVCC_FLAGS -gencode=arch=sm_30) +set(CUDA_NVCC_FLAGS -arch=compute_30) qt5_add_resources(RESOURCES pm.qrc) -- cgit v1.2.3