Skip to content

Conversation

pratikvn
Copy link
Member

@pratikvn pratikvn commented Sep 17, 2025

This PR adds a gmres::ortho_method::rgs strategy for GMRES. Like other strategies, this is also supported in a distributed setting.

Note: The rand-gmres example was added mostly as a easy way to check if the solver works, but can probably be removed.

TODO

  • Move theta setup and other allocations to generate/workspace.

thoasm and others added 30 commits September 8, 2025 18:03
Also extended the common tests to consider the RGS orthogonality.
Note: the richardson_lsq kernel is not implemented yet.
Make the temporary RGS vectors part of the workspace.
Only theta needs explicit local storage because it is not stored as
dense.

Additionally, fix the reference Richardson test.
@pratikvn pratikvn requested a review from a team September 17, 2025 07:21
@pratikvn pratikvn self-assigned this Sep 17, 2025
@pratikvn pratikvn added is:new-feature A request or implementation of a feature that does not exist yet. mod:core This is related to the core module. type:solver This is related to the solvers 1:ST:ready-for-review This PR is ready for review labels Sep 17, 2025
@ginkgo-bot ginkgo-bot added reg:build This is related to the build system. reg:testing This is related to testing. mod:cuda This is related to the CUDA module. mod:reference This is related to the reference module. reg:example This is related to the examples. reg:benchmarking This is related to benchmarking. mod:hip This is related to the HIP module. labels Sep 17, 2025
@pratikvn pratikvn added 1:ST:WIP This PR is a work in progress. Not ready for review. and removed 1:ST:ready-for-review This PR is ready for review labels Sep 22, 2025
@ginkgo-bot
Copy link
Member

Error: The following files need to be formatted:

dpcpp/factorization/par_ilut_select_kernel.dp.cpp
examples/CMakeLists.txt
examples/rand-gmres/CMakeLists.txt
examples/rand-gmres/doc/builds-on
examples/rand-gmres/rand-gmres.cpp

You can find a formatting patch under Artifacts here or run format! if you have write access to Ginkgo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1:ST:WIP This PR is a work in progress. Not ready for review. is:new-feature A request or implementation of a feature that does not exist yet. mod:core This is related to the core module. mod:cuda This is related to the CUDA module. mod:hip This is related to the HIP module. mod:reference This is related to the reference module. reg:benchmarking This is related to benchmarking. reg:build This is related to the build system. reg:example This is related to the examples. reg:testing This is related to testing. type:solver This is related to the solvers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants