code: public static int cusparseScsrcolor(
          cusparseHandle handle, 
          int m, 
          int nnz, 
          cusparseMatDescr descrA, 
          Pointer csrSortedValA, 
          Pointer csrSortedRowPtrA, 
          Pointer csrSortedColIndA, 
          Pointer fractionToColor, 
          Pointer ncolors, 
          Pointer coloring, 
          Pointer reordering, 
          cusparseColorInfo info)
      {
          return checkResult(cusparseScsrcolorNative(handle, m, nnz, descrA, csrSortedValA, csrSortedRowPtrA, csrSortedColIndA, fractionToColor, ncolors, coloring, reordering, info));
      }
docs: Description: Find an approximate coloring of a matrix stored in CSR format.