Supplementary: CesASMe dependencies + init Staticdeps context
This commit is contained in:
parent
bd354bfe99
commit
00707e60fe
2 changed files with 43 additions and 0 deletions
|
@ -1 +1,3 @@
|
|||
\input{85_supplementary/results_tables.tex}
|
||||
|
||||
\input{85_supplementary/misc.tex}
|
||||
|
|
41
slides/85_supplementary/misc.tex
Normal file
41
slides/85_supplementary/misc.tex
Normal file
|
@ -0,0 +1,41 @@
|
|||
\section{Misc supplementary material}
|
||||
|
||||
\begin{frame}[fragile]{\cesasme{} and control flow}
|
||||
\begin{center}
|
||||
\textbf{Straight-line code:} hypothesis of code analysers, but
|
||||
also\ldots{}
|
||||
\end{center}
|
||||
|
||||
\begin{minipage}[c]{0.35\textwidth}
|
||||
\begin{lstlisting}[language=C]
|
||||
for(i) {
|
||||
if(A[i] % 2 == 0)
|
||||
A[i] *= 2;
|
||||
A[i] += B[i];
|
||||
}
|
||||
\end{lstlisting}
|
||||
\end{minipage}
|
||||
\hfill
|
||||
\begin{minipage}[c]{0.60\textwidth}
|
||||
\begin{itemize}
|
||||
\item If not taken: map
|
||||
\item If taken: \alert{dependency} in \lstc{A[i]}!
|
||||
\item Performance varies depending on branch
|
||||
\item Performance \alert{strongly depends} on \alert{input data}
|
||||
\end{itemize}
|
||||
\end{minipage}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}{\staticdeps: lack of context}
|
||||
\begin{minipage}[t]{0.48\textwidth}
|
||||
\begin{block}{Context-dependent stride}
|
||||
\todo{λ\lstc{F, k: F[i] += F[i+k]}}
|
||||
\end{block}
|
||||
\end{minipage}
|
||||
\hfill
|
||||
\begin{minipage}[t]{0.48\textwidth}
|
||||
\begin{block}{Graphs algorithms}
|
||||
\todo{Adjacency list as pointers to vertices}
|
||||
\end{block}
|
||||
\end{minipage}
|
||||
\end{frame}
|
Loading…
Reference in a new issue