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

Implement a combination matrix type with support for read #137

Merged
merged 36 commits into from
Aug 20, 2024

Conversation

greole
Copy link
Collaborator

@greole greole commented Jun 24, 2024

This PR implements a version combination matrix which allows to perform SpMV of multiple submatrices Ie Ax = (B+C+ ...N)x, where A is the combination matrix and B to N are the submatrices. In principle, we could also use Ginkgos combination matrix, but ginkgos combination matrix lacks an implementation of read which we to use the combination matrix as inner matrix type of the distributed matrix

This allows us several improvements in future PRs:

  1. usage of ldu directely on the GPU without a dedicated LDU type on the ginkgo side, since we can in principle use Ax = (L+D+U)x
  2. handle interfaces for AMI

Todo

  • Add unit tests

Requires:

@greole greole force-pushed the impl/combination_matrix branch 2 times, most recently from fbff730 to 40dafc1 Compare June 24, 2024 18:26
@greole greole requested a review from chihta-wang August 8, 2024 12:02
to read matrix data from a file

- Add matrix data for the unit test in Matrix Market Exchange Format (.mtx)

- Modify the CMake configuration file for HostMatrix in order to
copy matrix to the build directory of unit tests
- Enable reading the b vector data from the file
- Modify the CMake file to copy vector data to the build directory
…inal

matrix which consists of integers
- Create a mtx file for storing a vector
- Remove commented lines of code and reorganize the unit test
…rices

- Add 3 mtx files for storing L, D, and U matrices, respectively
- Modify the CMake file to copy L, D, and U matrices over to the build directory
- Add assertion tests for verifying row and column indices
- Add a unit test for the function
@greole greole merged commit 237cb34 into stack/ogl_0.6 Aug 20, 2024
14 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants