hpc/roofline/report/report.tex
Armin Friedl 56ea93edf7 final
2016-06-24 23:40:10 +02:00

134 lines
4.6 KiB
TeX

\documentclass[a4paper, DIV=12]{scrartcl}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[dvipsnames]{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{stmaryrd}
\usepackage{graphicx}
\usepackage{pdflscape}
\usepackage{listingsutf8}
\usepackage{spverbatim}
\usepackage{placeins}
%\usepackage{lmodern}
%\usepackage{helvet}
\usepackage{booktabs}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage{framed}
\usepackage[colorlinks=true,
linkcolor=blue,
urlcolor=blue,
breaklinks=true,
citecolor=blue]{hyperref}
\usepackage{prettyref}
\usepackage{lastpage}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{adjustbox}
\usepackage{pdfpages}
\usepackage{xspace}
\usepackage[inline]{enumitem}
\usepackage[abbreviate=false,maxbibnames=99,backend=biber]{biblatex}
\usepackage{textcomp}
\bibliography{roofline}
\setkomafont{disposition}{\normalfont\bfseries}
\setlist[itemize]{itemsep=0.1em}
\setlist[enumerate]{itemsep=0.1em}
\newrefformat{tbl}{\hyperref[#1]{Table~\ref*{#1}}}
\newrefformat{fig}{\hyperref[#1]{Figure~\ref*{#1}}}
\newrefformat{lst}{\hyperref[#1]{Listing~\ref*{#1}}}
\newrefformat{equ}{\hyperref[#1]{Equation~\ref*{#1}}}
\newrefformat{sec}{\hyperref[#1]{Section~\ref*{#1}}}
\renewcommand{\arraystretch}{1.2}
\newcommand*\rfrac[2]{{}^{#1}\!/_{#2}}%running fraction with slash - requires math mode
\newcommand\bigforall{\mbox{\Large $\mathsurround0pt\forall$}}
\everymath{\displaystyle}
\lstset{ %
backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or
basicstyle=\ttfamily, % the size of the fonts that are used for the code
breakatwhitespace=true, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
escapeinside={(*}{*)}, % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
frame=single, % adds a frame around the code
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
language=C, % the language of the code
numbers=left, % where to put the line-numbers; possible values are (none, left, right)
numbersep=5pt, % how far the line-numbers are from the code
numberstyle=\tiny\color{gray}, % the style that is used for the line-numbers
rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
tabsize=2, % sets default tabsize to 2 spaces
title=\lstname, % show the filename of files included with \lstinputlisting; also try caption instead of title
keywordstyle=\color{blue},
morekeywords={size_t},
commentstyle=\color{ForestGreen}
}
\begin{document}
\subject{High Performance Computing}
\title{Roofline}
\subtitle{Project 3}
\author{Johannes Winklehner\\1226104 \and Armin Friedl\\1053597}
\date{\today}
\maketitle
\begin{abstract}
A \emph{roofline model} for a multicore-processor is obtained by calcuating the theoretical peak performance of the processor and benchmarking the peak memory bandwith. Two artificial computational kernels with operational intensities of $\frac{1}{16}$ GFLOPs/Byte and $8$ GFLOPs/Byte are devised. The performance of the two kernels is then compared to the theoretical calculations in the roofline model.
\end{abstract}
\tableofcontents
\newpage
\section{Introduction}
\label{sec:introduction}
\input{inputs/introduction.tex}
\FloatBarrier
\section{Roofline Model}
\label{sec:roofline}
\input{inputs/roofline.tex}
\FloatBarrier
\section{Kernels}
\label{sec:kernels}
\input{inputs/kernels.tex}
\FloatBarrier
\section{Results}
\label{sec:results}
\input{inputs/results.tex}
\FloatBarrier
\section{Discussion}
\label{sec:discussion}
\input{inputs/discussion.tex}
\printbibliography
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: