code: public static int cusparseSgebsr2gebsc_bufferSize(
          cusparseHandle handle, 
          int mb, 
          int nb, 
          int nnzb, 
          Pointer bsrSortedVal, 
          Pointer bsrSortedRowPtr, 
          Pointer bsrSortedColInd, 
          int rowBlockDim, 
          int colBlockDim, 
          int[] pBufferSizeInBytes)
      {
          return checkResult(cusparseSgebsr2gebsc_bufferSizeNative(handle, mb, nb, nnzb, bsrSortedVal, bsrSortedRowPtr, bsrSortedColInd, rowBlockDim, colBlockDim, pBufferSizeInBytes));
      }
docs: Description: This routine converts a sparse matrix in general block-CSR storage format
  to a sparse matrix in general block-CSC storage format.