You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have use the cusolverMpGetrf function successfully, I want to know if the function matrix inversion through LU getrf will be launched and when it will be launched. thanks
Hi, GETRF computes the LU factorization, and GETRS solves a linear system based on that factorization. It sounds like what you are looking for is GETRI (LAPACK documentation), but cuSOLVERMp does not offer this function. It is generally not recommended to compute an explicit inverse of a matrix because of the efficiency, and you should use GETRS if possible.
thanks for your answer, I have tested getrs function, I know that GETRS need NRHS=1 currently, but I tried to set NRHS>1 and if mpi=1 it can be computed correctly, but when mpi>1, it will be incorrect for NRHS>1, so I want to know that when GETRS can support NRHS>1 if possible
Activity
mrogowski commentedon Sep 15, 2025
Hi, GETRF computes the LU factorization, and GETRS solves a linear system based on that factorization. It sounds like what you are looking for is GETRI (LAPACK documentation), but cuSOLVERMp does not offer this function. It is generally not recommended to compute an explicit inverse of a matrix because of the efficiency, and you should use GETRS if possible.
userchba commentedon Sep 16, 2025
thanks for your answer, I have tested getrs function, I know that GETRS need NRHS=1 currently, but I tried to set NRHS>1 and if mpi=1 it can be computed correctly, but when mpi>1, it will be incorrect for NRHS>1, so I want to know that when GETRS can support NRHS>1 if possible