|
|
@ -36,9 +36,8 @@ if (HAVE_CUDA) |
|
|
|
include_directories(${CUDA_INCLUDE_DIRS}) |
|
|
|
include_directories(${CUDA_INCLUDE_DIRS}) |
|
|
|
link_directories(${CUDA_LIBRARIES}) |
|
|
|
link_directories(${CUDA_LIBRARIES}) |
|
|
|
|
|
|
|
|
|
|
|
set(CUDA_NVCC_FLAGS_ARCH " 1.0 1.1 1.2 1.3 2.0 ") |
|
|
|
set(CUDA_NVCC_FLAGS_ARCHITECTURE " 1.0 1.1 1.2 1.3 2.0 " CACHE STRING "Add or remove compute copability") |
|
|
|
|
|
|
|
set(CUDA_NVCC_FLAGS_ARCH ${CUDA_NVCC_FLAGS_ARCHITECTURE}) |
|
|
|
set(CUDA_NVCC_FLAGS_ARCHITECTURE ${CUDA_NVCC_FLAGS_ARCH} CACHE STRING "Add or remove compute copability" FORCE) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set(CUDA_NVCC_FLAGS_NUM "") |
|
|
|
set(CUDA_NVCC_FLAGS_NUM "") |
|
|
|
|
|
|
|
|
|
|
|