1 \documentclass[sunil1,ChapterTOCs]{sunil}
2 \usepackage[utf8]{inputenc}
5 \usepackage{amsfonts,amssymb}
15 \usepackage[sectionbib]{bibunits}
18 %\usepackage{algorithm}
19 %\usepackage{algorithmic}
20 \usepackage[ruled,lined,linesnumbered]{algorithm2e}
41 %% \usepackage{listings}
42 %% \usepackage{subfigure}
44 %% \usepackage{graphicx}
49 %\include{Chapters/chapter1/preamble}
50 \include{Chapters/chapter5/preamble}
52 \newcommand{\scalprod}[2]%
53 {\ensuremath{\langle #1 \, , #2 \rangle}}
60 \newtheorem{proposition}{Proposition}
61 \newtheorem{theorem}{Theorem}
62 \newtheorem{exercise}{Exercise}[chapter]
63 \newtheorem{example}{Example}
64 \newtheorem{definition}{Definition}
65 \newtheorem{proof}{Proof}
67 \newcommand{\mymat}[1]{\mathcal{#1}}
68 \newcommand{\myvec}[1]{\mathbf{#1}}
70 \newcommand{\mbf}{\mathbf}
71 \newcommand{\mc}{\mathcal}
72 \newcommand{\N}{\mathcal{N}}
73 \newcommand{\B}{\mathcal{B}}
74 \newcommand{\bs}{\boldsymbol}
78 \let\OLDlstinputlisting\lstinputlisting
79 \renewcommand{\lstinputlisting}[2][]{\FloatBarrier\OLDlstinputlisting[#1]{#2}\FloatBarrier}
81 \DeclareMathOperator*{\argmax}{arg\,max}
84 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
88 basicstyle=\footnotesize\ttfamily,
99 % keywordstyle=[1]\textbf,
100 %identifierstyle=\textbf,
101 commentstyle=\color{white}\textbf,
102 stringstyle=\color{white}\ttfamily,
104 % framexleftmargin=17pt,
105 % framexrightmargin=5pt,
106 % framexbottommargin=4pt,
107 backgroundcolor=\color{lightgray},
108 basicstyle=\scriptsize
112 %% basicstyle=\footnotesize\ttfamily, % Standardschrift
113 %% %numbers=left, % Ort der Zeilennummern
114 %% numberstyle=\tiny, % Stil der Zeilennummern
115 %% %stepnumber=2, % Abstand zwischen den Zeilennummern
116 %% numbersep=5pt, % Abstand der Nummern zum Text
117 %% tabsize=2, % Groesse von Tabs
118 %% extendedchars=true, %
119 %% breaklines=true, % Zeilen werden Umgebrochen
120 %% keywordstyle=\color{red},
122 %% % keywordstyle=[1]\textbf, % Stil der Keywords
123 %% % keywordstyle=[2]\textbf, %
124 %% % keywordstyle=[3]\textbf, %
125 %% % keywordstyle=[4]\textbf, \sqrt{\sqrt{}} %
126 %% stringstyle=\color{white}\ttfamily, % Farbe der String
127 %% showspaces=false, % Leerzeichen anzeigen ?
128 %% showtabs=false, % Tabs anzeigen ?
130 %% framexleftmargin=17pt,
131 %% framexrightmargin=5pt,
132 %% framexbottommargin=4pt,
133 %% %backgroundcolor=\color{lightgray},
134 %% showstringspaces=false % Leerzeichen in Strings anzeigen ?
136 %% \lstloadlanguages{% Check Dokumentation for further languages ...
145 %% %\DeclareCaptionFont{blue}{\color{blue}}
147 %% %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
148 \DeclareCaptionFont{white}{\color{white}}
149 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
150 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
156 %\includeonly{Chapters/chapter10/ch10}
157 \DeclareCaptionLabelSeparator{colon}{. }
164 %%bibliography style to adopt
165 \bibliographyunit[\chapter]
166 \defaultbibliographystyle{plain}
170 \title{Designing Scientific Applications on GPUs }
172 \author{Raphaël Couturier}
177 %\include{frontmatter/Foreword}
178 \include{frontmatter/preface}
186 \include{Chapters/symbollist}
189 \part{Presentation of GPUs}
190 \include{Chapters/chapter1/ch1}
191 \include{Chapters/chapter2/ch2}
192 \part{Image processing}
193 \include{Chapters/chapter3/ch3}
194 \include{Chapters/chapter4/ch4}
195 \part{Software development}
196 \include{Chapters/chapter5/ch5}
197 \include{Chapters/chapter6/ch6}
199 \include{Chapters/chapter8/ch8}
200 \include{Chapters/chapter9/ch9}
201 \include{Chapters/chapter10/ch10}
203 \part{Numerical applications}
204 \include{Chapters/chapter7/ch7}
205 \include{Chapters/chapter11/ch11}
206 \include{Chapters/chapter12/ch12}
207 \include{Chapters/chapter13/ch13}
208 \include{Chapters/chapter14/ch14}
209 \include{Chapters/chapter15/ch15}
210 \include{Chapters/chapter16/ch16}
212 \include{Chapters/chapter17/ch17}
213 \include{Chapters/chapter18/ch18}
214 \include{Chapters/chapter19/ch19}
216 \bibliographystyle{hep}
217 %%%\bibliography{biblio}