code: public static int cusparseCsrilu0Ex(
          cusparseHandle handle, 
          int trans, 
          int m, 
          cusparseMatDescr descrA, 
          Pointer csrSortedValA_ValM, 
          int csrSortedValA_ValMtype, 
          /** matrix A values are updated inplace 
                                                           to be the preconditioner M values */
          Pointer csrSortedRowPtrA, 
          Pointer csrSortedColIndA, 
          cusparseSolveAnalysisInfo info, 
          int executiontype)
      {
          return checkResult(cusparseCsrilu0ExNative(handle, trans, m, descrA, csrSortedValA_ValM, csrSortedValA_ValMtype, csrSortedRowPtrA, csrSortedColIndA, info, executiontype));
      }
docs: <pre>
  Description: Compute the incomplete-LU factorization with 0 fill-in (ILU0)
  of the matrix A stored in CSR format based on the information in the opaque
  structure info that was obtained from the analysis phase (csrsv_analysis).
  This routine implements algorithm 1 for this problem.
  </pre>