From: couturie Date: Fri, 15 Jan 2016 16:03:01 +0000 (+0100) Subject: new X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/kahina_paper2.git/commitdiff_plain/18956ad6588c4d4035809466f3da0088916a3a74?ds=inline;hp=53e4e1ca95c2a0805ab15a71eb47157aeb187aed new --- diff --git a/paper.tex b/paper.tex index d1ead14..d6dd2ff 100644 --- a/paper.tex +++ b/paper.tex @@ -789,13 +789,10 @@ implementation of Ehrlich-Aberth method. \item Initialization of Pu\; \item Initialization of the solution vector $Z^{0}$\; \item Allocate and copy initial data to the GPU global memory\; -\item k=0\; \item \While {$\Delta z_{max} > \epsilon$}{ -\item Let $\Delta z_{max}=0$\; \item $ kernel\_save(ZPrec,Z)$\; -\item k=k+1\; \item $ kernel\_update(Z,P,Pu)$\; -\item $kernel\_testConverge(\Delta z_{max},Z,ZPrec)$\; +\item $\Delta z_{max}=kernel\_testConverge(Z,ZPrec)$\; } \item Copy results from GPU memory to CPU memory\;