Hotfix for bug #472, compute_11 not supported, changed for now to hard-coded compute_20. Awating dynamic fix.

This commit is contained in:
Lindsey B. Williams 2015-06-09 10:56:04 -04:00
parent 16a79abeca
commit c3c258d00f

View File

@ -106,7 +106,7 @@ if (NOT NO_LIB)
if( CUDA_FOUND ) if( CUDA_FOUND )
include_directories( "${CUDA_INCLUDE_DIRS}" ) include_directories( "${CUDA_INCLUDE_DIRS}" )
if (UNIX) if (UNIX)
list( APPEND CUDA_NVCC_FLAGS -Xcompiler -fPIC --gpu-architecture compute_11 ) list( APPEND CUDA_NVCC_FLAGS -Xcompiler -fPIC --gpu-architecture compute_20 )
endif() endif()
endif() endif()