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

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

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

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