Hi,
Is it possible to use the MAGMA CPU interface without having a GPU card for matrix inverse calculation?
Thank you!
Matrix inverse on CPU
Re: Matrix inverse on CPU
First, do you REALLY need an inverse? Or do you actually want to solve a system of equations, which is both faster and more accurate? That is, X = A^{-1} * B is really solving A*X = B, and so should be computed as
NOT as
Also, I'm confused about your question. If you don't have a GPU, then MAGMA doesn't provide any benefit -- just use LAPACK. The LAPACK interface is very similar to the MAGMA interface.
If you mean, "Is there a MAGMA CPU interface to getri that then uses the GPU?", then no, there is not currently a routine magma_zgetri. It may get added in the future.
-mark
Code: Select all
magma_*gesv( A, B ); // that is, getrf + getrs
Code: Select all
magma_*getrf( A );
magma_*getri( A );
magma_*gemm( 1, A, B, 0, X );
If you mean, "Is there a MAGMA CPU interface to getri that then uses the GPU?", then no, there is not currently a routine magma_zgetri. It may get added in the future.
-mark