Commit Graph

1091 Commits

Author SHA1 Message Date
Kjetil Olsen Lye
791a3b84e1
Merge pull request #5688 from multitalentloes/add_mixed_precision_double_diagonal_gpu_ilu0_variants
Add mixed precision double diagonal gpu ilu0 variants
2025-01-13 11:15:51 +01:00
Tobias Meyer Andersen
d1e5a69476 Add new MP scheme to GPU ILU and DILU 2025-01-10 16:38:14 +01:00
Tobias Meyer Andersen
cabc049e49 minor adjustments 2025-01-09 10:38:58 +01:00
Tobias Meyer Andersen
adc6afd749 WIP 2025-01-08 14:54:03 +01:00
Tobias Meyer Andersen
486f7cc819 remove buffer and view cpu support 2025-01-08 08:53:16 +01:00
Tobias Meyer Andersen
b48479b7e4 fix piecewiselineartwophasematerial tests
Fixing the test required avoid accesses to a
mutable gpu buffer on the CPU. Removing function
from the GPUBuffer and GPUView class also required
a minor adjustment in the GPUView test.
2025-01-08 08:35:21 +01:00
Kjetil Olsen Lye
119282bd6d
Merge pull request #5674 from multitalentloes/add_gpudilu_mixed_precision
Add gpudilu mixed precision
2025-01-07 14:57:17 +01:00
Atgeirr Flø Rasmussen
96132fefcf
Merge pull request #5779 from multitalentloes/adjust_gpu_autotuning
adjust output and parameters in gpu autotuner
2025-01-02 16:08:47 +01:00
Arne Morten Kvarving
e5f8ea3e13 simplify: applyScaleAdd can be shared between regular and domain operators 2024-12-20 11:05:41 +01:00
Arne Morten Kvarving
4a797a7017 simplify: separate out application of a single well
and share code between normal and domain operators
2024-12-20 11:05:26 +01:00
Arne Morten Kvarving
165d0a953f changed: move implementation of WellOperators out of BlackoilWellModel 2024-12-20 10:41:58 +01:00
Atgeirr Flø Rasmussen
86436cdd5c Necessary to compile with my Hypre install.
HYPRE_Bigint are 64 bit integers on some platforms by default, and
can be configured as such in any case. The HYPRE API asks for
HYPRE_BigInt* so it is better to use that type rather than int.
2024-12-19 12:56:14 +01:00
jakobtorben
ac5b6b53c5 Select AMGX mode based on template scalar type 2024-12-18 13:30:02 +01:00
jakobtorben
0290fd0e9f Add support for partial resetup with AMGX 2024-12-18 13:30:02 +01:00
jakobtorben
5dd70eb8bb Add AMGX preconditioner 2024-12-18 13:30:02 +01:00
Arne Morten Kvarving
61b7b0c113
Merge pull request #5762 from jakobtorben/hypre_integration
Add Hypre BoomerAMG Support
2024-12-11 10:52:55 +01:00
jakobtorben
1536de038b Document the HyprePreconditioner class 2024-12-10 17:08:18 +01:00
jakobtorben
d663f16bea Add tests for Hypre Preconditioner 2024-12-10 17:08:18 +01:00
jakobtorben
e60aa7da13 Propagate need for recreating solver properly for two level methods 2024-12-10 17:08:18 +01:00
Arne Morten Kvarving
3b67d6dc54 Small fixes for hypre integration (#1)
* use appropriate hypre init function

* properly handle hypre without device support

* don't add hypre preconditioner to factory if scalar type does not match
2024-12-10 17:08:18 +01:00
jakobtorben
6fa9c25ba5 Move Hypre initialization and finalization out to Main 2024-12-10 17:08:18 +01:00
jakobtorben
56897e6d11 Guard Hypre preconditioner creation with HAVE_HYPRE macro 2024-12-10 17:08:18 +01:00
jakobtorben
1af2556385 Add support for GPU with Hypre 2024-12-10 17:08:18 +01:00
jakobtorben
032a7f5ad8 Create coarse matrix with contiguous memory layout 2024-12-10 17:08:18 +01:00
Atgeirr Flø Rasmussen
848e4718b1
Merge pull request #5786 from jakobtorben/expose_finesmoother_parameters_in_CPR_setup
Expose finesmoother pre/post smooth parameters in CPR setup
2024-12-05 15:36:07 +01:00
jakobtorben
27caf3cca7 Expose finesmoother pre/post smooth parameters in CPR setup 2024-12-05 13:05:32 +01:00
Tobias Meyer Andersen
7e4cb4856e adjust output and threads used for upper solve 2024-12-03 16:47:02 +01:00
Arne Morten Kvarving
73c45c7282 bump minimum dune version to 2.9 2024-12-03 13:59:53 +01:00
jakobtorben
30e3dc3582 Only apply Hypre AMG one V-cycle 2024-11-27 17:09:14 +01:00
jakobtorben
9d47aa605e Add property tree to constructor 2024-11-27 17:09:14 +01:00
jakobtorben
6d22b4f72a Optimise the transfer of memory between Dune and Hypre 2024-11-27 17:09:14 +01:00
jakobtorben
84193fa53d Set Hypre AMG parameters to Jutul default 2024-11-27 17:09:14 +01:00
jakobtorben
10f7a85532 Add Hypre preconditioner 2024-11-27 17:09:14 +01:00
jakobtorben
3ec01f7d7b Update second stage preconditioner for CPR instead of recreate 2024-11-27 10:31:48 +01:00
Kjetil Olsen Lye
4210adff57 Removed #if HAVE_SUITESPARSE_UMFPACK in WellContributions.hpp and MultisegmentWellContribution.hpp since Suitesparse is required without #if guards further down. 2024-11-12 10:10:33 +01:00
Arne Morten Kvarving
91aabf6a92
Merge pull request #5706 from BigDataAccelerate/rename-bda-to-gpu
Remove bda naming from project
2024-11-11 16:26:21 +01:00
Razvan Nane
23e24a8cca Rename ISTLSolverGpu to ISTLSolverGpuBridge 2024-11-11 15:02:01 +01:00
Arne Morten Kvarving
c11e9dd10b remove unused variable 2024-11-11 12:13:43 +01:00
Arne Morten Kvarving
be93ce7163 fixed: add virtual dtor to class with virtual members 2024-11-11 12:13:43 +01:00
Tobias Meyer Andersen
78e01ad06f Add tests for gpu pvt classes 2024-11-08 14:41:34 +01:00
Razvan Nane
baf94f76d2 Rename bda to gpu for classes 2024-11-04 12:31:34 +01:00
Razvan Nane
7c4bafe936 rename bda folder&files 2024-11-04 10:47:34 +01:00
Arne Morten Kvarving
8b21902f74 fixed: division by zero if no gpu device was found 2024-11-01 10:29:51 +01:00
Tobias Meyer Andersen
964844a636 document amd gpu/cpu issue 2024-10-30 11:03:29 +01:00
Tobias Meyer Andersen
798f7d5426 Print GPU used on every rank 2024-10-30 11:03:29 +01:00
Tobias Meyer Andersen
3d67191d49 working MP for gpu DILU 2024-10-15 13:22:55 +02:00
Tobias Meyer Andersen
1d49eadd15 add mixed precision option to gpudilu class 2024-10-14 16:17:56 +02:00
Atgeirr Flø Rasmussen
a7efc0091d
Merge pull request #5341 from jakobtorben/NLDD_remove_need_for_addWellContrib
Remove the need for add well contributions to matrix for NLDD
2024-10-10 16:23:52 +02:00
jakobtorben
e790972201 PR review changes 2024-10-10 15:51:53 +02:00
Atgeirr Flø Rasmussen
fc43d3ba44
Merge pull request #5655 from BigDataAccelerate/fix_type
Bug fix in rocsparsesolver
2024-10-10 15:34:03 +02:00