mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 17:32:03 -05:00
Added amgclSolverBackend
This commit is contained in:
1 parent
5918c64b54
commit
c2869810e2
9 files changed
+453
-24
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user