Add GPUampcor support with proper version check
parent
5eadebc85d
commit
149b4aa29a
|
@ -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()
|
||||
|
||||
|
|
|
@ -12,3 +12,7 @@ target_link_libraries(GPUampcor PRIVATE
|
|||
cublas
|
||||
DataAccessor_static
|
||||
)
|
||||
InstallSameDir(
|
||||
GPUampcor
|
||||
__init__.py
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue