cusparseDcsrsv_solve returns CUSPARSE_STATUS_MAPPING_ERROR BiCG
Hi,

I'm trying to implement the BiCG as the paper "[b]Incomplete-LU and Cholesky Preconditioned Iterative Methods Using CUSPARSE and CUBLAS[/b]" demostrates.

I get the Incomplete LU Factorization by MKL's [b]dcsrilu0[/b], and then manually extract the LU two parts, let the diagonal of the L as 1, the diagnoal of the U as the result, so that the L*U ~ A, am I right about this step to produce the L and U ?

Once I have the L and U and analysed them by API [b]cusparseDcsrsv_analysis [/b]both, then I have to call cusparseDcsrsv_solve, but this function returns strange [b]CUSPARSE_STATUS_MAPPING_ERROR[/b], is anybody could help me ? Thanks !
Hi,



I'm trying to implement the BiCG as the paper "Incomplete-LU and Cholesky Preconditioned Iterative Methods Using CUSPARSE and CUBLAS" demostrates.



I get the Incomplete LU Factorization by MKL's dcsrilu0, and then manually extract the LU two parts, let the diagonal of the L as 1, the diagnoal of the U as the result, so that the L*U ~ A, am I right about this step to produce the L and U ?



Once I have the L and U and analysed them by API cusparseDcsrsv_analysis both, then I have to call cusparseDcsrsv_solve, but this function returns strange CUSPARSE_STATUS_MAPPING_ERROR, is anybody could help me ? Thanks !

#1
Posted 04/27/2012 05:54 AM   
Wrong transpose operation, runs almost okay now.
Wrong transpose operation, runs almost okay now.

#2
Posted 04/27/2012 08:23 AM   
Scroll To Top