T.D. (Tongdong) Qiu
|
f04a629546
|
Updated comments
|
2020-05-20 15:13:58 +02:00 |
|
T.D. (Tongdong) Qiu
|
f6036ffa8e
|
Now WellContributions copies vectors for MultisegmentWells to reduce number of copies
|
2020-05-18 18:48:58 +02:00 |
|
T.D. (Tongdong) Qiu
|
0f273ebdf6
|
Removed unused variables. Changed initializerlist order for readability.
|
2020-05-18 16:10:19 +02:00 |
|
T.D. (Tongdong) Qiu
|
dcbba53510
|
Updated comment
|
2020-05-15 17:55:06 +02:00 |
|
T.D. (Tongdong) Qiu
|
04ee2be348
|
cusparseSolver can now handle MultisegmentWells, they are actually applied on CPU via SuiteSparse/UMFPACK
|
2020-05-15 16:40:34 +02:00 |
|
Markus Blatt
|
76e710df97
|
Simplify intstantiation of BDABridge template members
with a macro and stripping unneeded template members.
|
2020-05-13 16:29:36 +02:00 |
|
Markus Blatt
|
85fffee06e
|
Pass a mutable matrix to BdaBridge::solve_system
That function will overwrite zero diagonal values with small nonzero ones.
|
2020-05-13 16:28:15 +02:00 |
|
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
|
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 |
|
Atgeirr Flø Rasmussen
|
2cbeff2aca
|
Silence warnings.
|
2020-02-13 11:04:02 +01:00 |
|
Arne Morten Kvarving
|
d28ed77036
|
fixed: add explicit template instantation for blocksize 1
fixes linking of flow_onephase with bda/cuda enabled
|
2020-02-07 15:18:40 +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
|
293bd5816f
|
Replaced exit() with OPM_THROW. Replaced primitive pointer with unique_ptr.
|
2019-12-16 10:05:12 +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 |
|