![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
hypre BoomerAMG preconditioner for the Kokkos GPU plugin (PRECONDITIONER=AMG) — host (OpenMP) and device (CUDA/HIP) paths. More...
#include "KokkosSurfaceKernels.hpp"Go to the source code of this file.
Classes | |
| class | openswmm::twoD::gpu::KokkosAmgPreconditioner |
| BoomerAMG preconditioner over the Kokkos surface Newton matrix. More... | |
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::twoD |
| namespace | openswmm::twoD::gpu |
hypre BoomerAMG preconditioner for the Kokkos GPU plugin (PRECONDITIONER=AMG) — host (OpenMP) and device (CUDA/HIP) paths.
Mirrors the serial HypreAmgPreconditioner but assembles M = I − γ·J directly from the plugin's Kokkos mesh/state Views (a Kokkos kernel that runs in the active ExecSpace), and drives hypre in the matching memory location:
The static CSR sparsity (diagonal + up to three neighbours per row) is built once on the host from the mesh topology and mirrored to the ExecSpace; only the values are refreshed each setup.