(handle, m, n, k, a, lda, tau)
return lwork.value
Calculate size of work buffer used by cusolverDnCungqr.

    References
    ----------
    `cusolverDn<t>orgqr <http://docs.nvidia.com/cuda/cusolver/index.html#cuds-lt-t-gt-orgqr>`_
Calculate size of work buffer used by cusolverDnCungqr.
Calculate size of work buffer used by cusolverDnCungqr .
def cusolverDnCungqr_bufferSize(handle, m, n, k, a, lda, tau):
    """
    Calculate size of work buffer used by cusolverDnCungqr.

    References
    ----------
    `cusolverDn<t>orgqr <http://docs.nvidia.com/cuda/cusolver/index.html#cuds-lt-t-gt-orgqr>`_
    """

    lwork = ctypes.c_int()
    status = _libcusolver.cusolverDnCungqr_bufferSize(handle, m, n, k, int(a),
                                                      lda, int(tau), ctypes.byref(lwork))
    cusolverCheckStatus(status)
    return lwork.value
def cusolverDnCungqr_bufferSize ( handle , m , n , k , a , lda , tau ) : lwork = ctypes . c_int ( ) status = _libcusolver . cusolverDnCungqr_bufferSize ( handle , m , n , k , int ( a ) , lda , int ( tau ) , ctypes . byref ( lwork ) ) cusolverCheckStatus ( status ) return lwork . value