Add GPUampcor support with proper version check

LT1AB
Ryan Burns 2020-05-22 13:11:39 -07:00
parent 5eadebc85d
commit 149b4aa29a
2 changed files with 11 additions and 1 deletions

View File

@ -3,7 +3,13 @@ add_subdirectory(geozero)
add_subdirectory(topozero)
if(CMAKE_CUDA_COMPILER)
# add_subdirectory(GPUampcor) TODO cublas_device removed from CUDA 10
# cublas_device removed from CUDA 10
if(CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA" AND
CMAKE_CUDA_COMPILER_VERSION VERSION_LESS 10)
add_subdirectory(GPUampcor)
endif()
add_subdirectory(GPUgeo2rdr)
endif()

View File

@ -12,3 +12,7 @@ target_link_libraries(GPUampcor PRIVATE
cublas
DataAccessor_static
)
InstallSameDir(
GPUampcor
__init__.py
)