Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linear solver backend using direct calls to HYPRE #93

Merged
merged 9 commits into from
Jan 17, 2024

Conversation

grospelliergilles
Copy link
Member

This back-end will be used for accelerators. It will allow us to directly fill the matrix using own CSR storage.
At the moment it only work in sequential.

This is needed to allow dynamic loading of Arcane services.
This implementation only support direct filling of matrix with CSR values.
…emove compile warnings.

Using methods which are not static implies implicit capture of 'this' and
it is deprecated in C++20.
…der and add support for CSR matrix filling

Moving methods in source file prevents recompilation of all files which
uses 'CsrFormatMatrix' when we change only some implementation.
This is only needed when we use specific methods which depends on an
available accelerator backend (for exemple CUDA or ROCM).
Copy link
Collaborator

@mohd-afeef-badri mohd-afeef-badri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with Arcane(GPU) and Arcane(CPU) works out of the box.

@mohd-afeef-badri mohd-afeef-badri merged commit b777b2b into main Jan 17, 2024
2 checks passed
@mohd-afeef-badri mohd-afeef-badri deleted the dev/gg-add-hypre-backend branch January 26, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request novelty
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants