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

Solve matrix-matrix problem #759

Closed
vpuri3 opened this issue Jul 22, 2023 · 2 comments · Fixed by #840
Closed

Solve matrix-matrix problem #759

vpuri3 opened this issue Jul 22, 2023 · 2 comments · Fixed by #840

Comments

@vpuri3
Copy link

vpuri3 commented Jul 22, 2023

I want to solve Ax = y for K unique RHSs. Wondering if I can stack them in a matrix and solve A * X = Y where X, Y are N x K matrices?

@amontoison
Copy link
Member

Hi @vpuri3!
If y is a matrix, it's recommended to use a Block-Krylov method.
The issue is that we need to solve a K x K dense linear system at each iteration and I don't know how to support GPUs for this step with a generic implementation.

If I find a neat way to do that, I will add block-CG and block-GMRES.

@amontoison
Copy link
Member

@vpuri3 The version 0.9.5 of Krylov.jl will have block-GMRES.
I will release it before the end of the week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants