T.D. (Tongdong) Qiu
|
ab2d9a8c76
|
Changed int idx to indicate which matrix is added to WellContributions to an enum
|
2020-03-20 10:04:58 +01:00 |
|
T.D. (Tongdong) Qiu
|
75268f1166
|
Changed ISTLSolverEbos-BdaBridge usage. BdaBridge->solve_system() is not called when GPU is not selected or disabled
|
2020-03-19 16:08:29 +01:00 |
|
T.D. (Tongdong) Qiu
|
7f3f03f63d
|
Added check to prevent segfaults for unsupported welltypes
|
2020-03-19 16:06:49 +01:00 |
|
T.D. (Tongdong) Qiu
|
947f419ef8
|
Fixed memory issues when cusparseSolver is disabled by unsupported blocksize
|
2020-03-19 14:09:42 +01:00 |
|
T.D. (Tongdong) Qiu
|
04fe46a9da
|
Only accept CUDA 9.0 for the WellContributions kernel. Also removed unused variables
|
2020-03-19 11:46:57 +01:00 |
|
T.D. (Tongdong) Qiu
|
8223cd1db8
|
Simplified filling of WellContributions object. Added comments
|
2020-03-19 11:15:49 +01:00 |
|
T.D. (Tongdong) Qiu
|
fdcf46792a
|
BdaBridge and WellContributions are only included and compiled when CUDA is found
|
2020-03-18 19:03:14 +01:00 |
|
T.D. (Tongdong) Qiu
|
d29b6a6e5e
|
Removed unnecessary line continuation chars. Merged unsupported cases in switch
|
2020-03-18 15:14:38 +01:00 |
|
T.D. (Tongdong) Qiu
|
009b5076a4
|
Removed CPU implementation of WellContributions
|
2020-03-18 15:08:48 +01:00 |
|
T.D. (Tongdong) Qiu
|
ce73337769
|
Disable GPU when using MPI
|
2020-03-18 13:53:40 +01:00 |
|
T.D. (Tongdong) Qiu
|
d067c08be7
|
Added header to CMake_files, updated copyright year
|
2020-03-16 12:57:35 +01:00 |
|
T.D. (Tongdong) Qiu
|
581cbc6a3e
|
cusparseSolver can now apply wellcontributions separately, so --matrix-add-wellcontributions=true is not required anymore
|
2020-03-13 14:21:59 +01:00 |
|
T.D. (Tongdong) Qiu
|
5ee7f26313
|
Fixed incorrect extension for header
|
2019-12-19 09:13:19 +01:00 |
|
T.D. (Tongdong) Qiu
|
e28fb78f26
|
Fixed incorrect path for headers
|
2019-12-19 09:11:57 +01:00 |
|
T.D. (Tongdong) Qiu
|
103cc9b83a
|
Added return explanation in comments
|
2019-12-18 17:09:33 +01:00 |
|
T.D. (Tongdong) Qiu
|
57344fd5e0
|
Added doxygen-style comments
|
2019-12-18 17:05:33 +01:00 |
|
T.D. (Tongdong) Qiu
|
6506ab5f55
|
Added some const qualifiers and comments
|
2019-12-18 16:37:29 +01:00 |
|
T.D. (Tongdong) Qiu
|
a491e64883
|
Added some whitespace around brackets in accordance with OPM suggested coding standard
|
2019-12-18 15:54:14 +01:00 |
|
T.D. (Tongdong) Qiu
|
950d1c92c1
|
Replaced tabs with 4 spaces
|
2019-12-18 15:50:09 +01:00 |
|
T.D. (Tongdong) Qiu
|
b543947e66
|
Addressed some comments of PR#2209
|
2019-12-18 15:47:35 +01:00 |
|
T.D. (Tongdong) Qiu
|
8e7eddb3ea
|
Reduced number of library includes
|
2019-12-16 12:38:32 +01:00 |
|
T.D. (Tongdong) Qiu
|
293bd5816f
|
Replaced exit() with OPM_THROW. Replaced primitive pointer with unique_ptr.
|
2019-12-16 10:05:12 +01:00 |
|
T.D. (Tongdong) Qiu
|
13e524dba2
|
Only print warning that cusparseSolver did not converge if it was chosen with --use-gpu=true
|
2019-12-09 10:02:21 +01:00 |
|
T.D. (Tongdong) Qiu
|
b355537e04
|
Replaced prints with OpmLog. BdaBridge disables GPU and continues with Dune if unsupported blocksize is used
|
2019-12-06 17:23:32 +01:00 |
|
T.D. (Tongdong) Qiu
|
8b92c5dca6
|
Removed extra copy of nnzs, now sends pointer to start of Dune::BCRSMatrix data to cusparseSolver.
|
2019-12-06 14:33:52 +01:00 |
|
T.D. (Tongdong) Qiu
|
48900df882
|
Fixed 'unused variable' warnings
|
2019-12-06 11:27:17 +01:00 |
|
T.D. (Tongdong) Qiu
|
a4cb582cfb
|
Moved warning prints from cusparseSolver to BdaBridge. Moved solving logic from BdaBridge to cusparseSolver. Added cusparseSolverStatus enum.
|
2019-12-06 11:05:41 +01:00 |
|
T.D. (Tongdong) Qiu
|
b6e13bffd2
|
Added headers to PUBLIC_HEADER_FILES. Added warning print when cusparseSolver did not converge. Added more synchronization points in cusparseSolver. Pinning b and x vector as well.
|
2019-12-05 18:02:27 +01:00 |
|
T.D. (Tongdong) Qiu
|
f19a3b09b1
|
Updated copyright notice
|
2019-12-05 14:24:37 +01:00 |
|
T.D. (Tongdong) Qiu
|
cf48650a5e
|
BdaBridge lets cusparseSolver copy the resulting x vector from the GPU directly into the BlockVector from ISTLSolverEbos, this only works if the underlying data from BlockVector is contiguous
|
2019-12-05 10:59:33 +01:00 |
|
T.D. (Tongdong) Qiu
|
5cb6ec510c
|
Allow verbosity of cusparseSolver to be set via command line
|
2019-12-05 10:07:40 +01:00 |
|
T.D. (Tongdong) Qiu
|
69033ca7f2
|
Changed structure of cusparseSolver to fit into master branch
|
2019-12-04 16:59:58 +01:00 |
|
T.D. (Tongdong) Qiu
|
4db2e7ca4e
|
Added cusparseSolver. Automatically compiled when CUDA is detected. Must be enabled at runtime by adding '--use-gpu=true'
|
2019-12-03 14:29:06 +01:00 |
|