code: public static int cusparseScsru2csr_bufferSizeExt(
          cusparseHandle handle, 
          int m, 
          int n, 
          int nnz, 
          Pointer csrVal, 
          Pointer csrRowPtr, 
          Pointer csrColInd, 
          csru2csrInfo info, 
          long[] pBufferSizeInBytes)
      {
          return checkResult(cusparseScsru2csr_bufferSizeExtNative(handle, m, n, nnz, csrVal, csrRowPtr, csrColInd, info, pBufferSizeInBytes));
      }
docs: Description: Wrapper that sorts sparse matrix stored in CSR format
  (without exposing the permutation).