X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/kahina_paper2.git/blobdiff_plain/5cbb1a82bc5d2f08ea4fe3f80e991e7d08584630..3991da6297471c9035632fb841e0490022b833a0:/maj.tex diff --git a/maj.tex b/maj.tex index b7abf86..ef19009 100644 --- a/maj.tex +++ b/maj.tex @@ -9,7 +9,8 @@ \usepackage[textsize=footnotesize]{todonotes} \usepackage{amsmath} \usepackage{amssymb} -\usepackage{float} +\usepackage{float} +\usepackage{listings} \newcommand{\LZK}[2][inline]{% \todo[color=red!10,#1]{\sffamily\textbf{LZK:} #2}\xspace} \newcommand{\RC}[2][inline]{% @@ -326,7 +327,16 @@ Copy $P$, $P'$ and $Z$ from CPU to GPU\; Copy $Z$ from GPU to CPU\; \end{algorithm} -%\RC{A revoir (c'est de la blague en l'état) : Figure~\ref{fig:00} shows the second kernel code} +Listing~\ref{lst:01} shows the a simplified version of second kernel +code (some parameters in the kernels have been simplified in order to +increase the readability). As can be seen this +kernel calls multiple kernels, all the kernals for complex numbers and +kernels for the evaluation of a polynomial are not detailed. + +\begin{footnotesize} +\lstinputlisting[label=lst:01,caption=Kernels to update the roots]{code.c} +\end{footnotesize} + %\begin{figure}[htbp] %\centering %\includegraphics[angle=+0,width=0.4\textwidth]{code}