code: public static int cusparseSdense2csc(
          cusparseHandle handle, 
          int m, 
          int n, 
          cusparseMatDescr descrA, 
          Pointer A, 
          int lda, 
          Pointer nnzPerCol, 
          Pointer cscSortedValA, 
          Pointer cscSortedRowIndA, 
          Pointer cscSortedColPtrA)
      {
          return checkResult(cusparseSdense2cscNative(handle, m, n, descrA, A, lda, nnzPerCol, cscSortedValA, cscSortedRowIndA, cscSortedColPtrA));
      }
docs: Description: This routine converts a dense matrix to a sparse matrix
  in the CSC storage format, using the information computed by the
  nnz routine.