code: public static int cusparseXgebsr2csr(
          cusparseHandle handle, 
          int dirA, 
          int mb, 
          int nb, 
          cusparseMatDescr descrA, 
          Pointer bsrSortedRowPtrA, 
          Pointer bsrSortedColIndA, 
          int rowBlockDim, 
          int colBlockDim, 
          cusparseMatDescr descrC, 
          Pointer csrSortedRowPtrC, 
          Pointer csrSortedColIndC)
      {
          return checkResult(cusparseXgebsr2csrNative(handle, dirA, mb, nb, descrA, bsrSortedRowPtrA, bsrSortedColIndA, rowBlockDim, colBlockDim, descrC, csrSortedRowPtrC, csrSortedColIndC));
      }
docs: Description: This routine converts a sparse matrix in general block-CSR storage format
  to a sparse matrix in CSR storage format.