code: public static int cusparseCsr2cscEx(
          cusparseHandle handle, 
          int m, 
          int n, 
          int nnz, 
          Pointer csrSortedVal, 
          int csrSortedValtype, 
          Pointer csrSortedRowPtr, 
          Pointer csrSortedColInd, 
          Pointer cscSortedVal, 
          int cscSortedValtype, 
          Pointer cscSortedRowInd, 
          Pointer cscSortedColPtr, 
          int copyValues, 
          int idxBase, 
          int executiontype)
      {
          return checkResult(cusparseCsr2cscExNative(handle, m, n, nnz, csrSortedVal, csrSortedValtype, csrSortedRowPtr, csrSortedColInd, cscSortedVal, cscSortedValtype, cscSortedRowInd, cscSortedColPtr, copyValues, idxBase, executiontype));
      }
docs: Description: This routine converts a matrix from CSR to CSC sparse
  storage format. The resulting matrix can be re-interpreted as a
  transpose of the original matrix in CSR storage format.