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

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

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

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