Skip to content
Snippets Groups Projects
Commit fcb7e8d9 authored by Julien Malik's avatar Julien Malik
Browse files

ENH: do not use Cuda by default

parent c31a797f
Branches
Tags
No related merge requests found
...@@ -21,16 +21,15 @@ FIND_PACKAGE(OTB) ...@@ -21,16 +21,15 @@ FIND_PACKAGE(OTB)
MESSAGE(FATAL_ERROR "OTB not found. Please set OTB_DIR") MESSAGE(FATAL_ERROR "OTB not found. Please set OTB_DIR")
ENDIF(OTB_FOUND) ENDIF(OTB_FOUND)
OPTION(OTB_USE_CUBLAS "Use Cuda CUBLAS library." ON) OPTION(OTB_USE_CUBLAS "Use Cuda CUBLAS library." OFF)
IF(OTB_USE_CUBLAS) IF(OTB_USE_CUBLAS)
FIND_PACKAGE(CUDA) FIND_PACKAGE(CUDA)
include_directories(${CUDA_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${CUDA_INCLUDE_DIRS})
ENDIF(OTB_USE_CUBLAS) ENDIF(OTB_USE_CUBLAS)
INCLUDE_DIRECTORIES( INCLUDE_DIRECTORIES(
${Hyperspectral_SOURCE_DIR}/Code/BasicFilters ${Hyperspectral_SOURCE_DIR}/Code/BasicFilters
${Hyperspectral_SOURCE_DIR}/Code/BasicFilters/GPUCuda ${Hyperspectral_SOURCE_DIR}/Code/BasicFilters/GPUCuda
${Hyperspectral_SOURCE_DIR}/Code/CudaMath
${Hyperspectral_SOURCE_DIR}/Code/Hyperspectral ${Hyperspectral_SOURCE_DIR}/Code/Hyperspectral
${Hyperspectral_SOURCE_DIR}/Code/Vahine ${Hyperspectral_SOURCE_DIR}/Code/Vahine
${Hyperspectral_SOURCE_DIR}/Code/RX ${Hyperspectral_SOURCE_DIR}/Code/RX
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment