code: public static int cusparseCsrsv_analysisEx(
          cusparseHandle handle, 
          int transA, 
          int m, 
          int nnz, 
          cusparseMatDescr descrA, 
          Pointer csrSortedValA, 
          int csrSortedValAtype, 
          Pointer csrSortedRowPtrA, 
          Pointer csrSortedColIndA, 
          cusparseSolveAnalysisInfo info, 
          int executiontype)
      {
          return checkResult(cusparseCsrsv_analysisExNative(handle, transA, m, nnz, descrA, csrSortedValA, csrSortedValAtype, csrSortedRowPtrA, csrSortedColIndA, info, executiontype));
      }
docs: Description: Solution of triangular linear system op(A) * x = alpha * f,
  where A is a sparse matrix in CSR storage format, rhs f and solution x
  are dense vectors. This routine implements algorithm 1 for the solve.