Added amgclSolverBackend

This commit is contained in:
Tong Dong Qiu committed 2021-07-07 16:24:51 +02:00
1 parent 5918c64b54
commit c2869810e2
9 files changed
+453 -24

No files matched your search

+12
View File
@@ -213,6 +213,18 @@ if(OpenCL_FOUND)
endif()
endif()
# search for amgcl
find_file(AMG_HPP amgcl/amg.hpp HINTS ${AMGCL_INCLUDE_DIRS})
if(AMG_HPP)
set(HAVE_AMGCL 1)
set(AMGCL_FOUND 1)
include_directories(${AMGCL_INCLUDE_DIRS})
set_source_files_properties(opm/simulators/linalg/bda/amgclSolverBackend.cpp PROPERTIES LANGUAGE CUDA)
else()
set(HAVE_AMGCL 0)
set(AMGCL_FOUND 0)
endif()
# read the list of components from this file (in the project directory);
# it should set various lists with the names of the files to include
include (CMakeLists_files.cmake)