cuda - Query regarding cusparseSolveAnalysisInfo_t -


i need solve ax=b multiple times , cusparsesolveanalysisinfo_t taking huge time inside loop.

what cusparsesolveanalysisinfo_t in solution of ax=b? according documentation can create once , use different sets of b. if want use different sets of same sparse structure.

referring the documentation, info structure of type cusparsesolveanalysisinfo_t passed analysis function capture data created analysis function. passed (unchanged) solve function guide solver.

you can see example usage in cuda sample.

you must re-create if change (i.e. must re-run analysis step if change a).


Comments