#NEWLINE# def magma_dpotrf_gpu( uplo , n , A , lda ) : #NEWLINE# #INDENT# '\n    Cholesky factorization of positive symmetric matrix.\n    ' #NEWLINE# uplo = _uplo_conversion [ uplo ] #NEWLINE# info = ctypes . c_int ( ) #NEWLINE# status = _libmagma . magma_dpotrf_gpu ( uplo , n , int ( A ) , lda , ctypes . byref ( info ) ) #NEWLINE# magmaCheckStatus ( status )