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}
42 %% \usepackage{listings}
43 %% \usepackage{subfigure}
45 %% \usepackage{graphicx}
50 %\include{Chapters/chapter1/preamble}
51 \include{Chapters/chapter5/preamble}
53 \newcommand{\scalprod}[2]%
54 {\ensuremath{\langle #1 \, , #2 \rangle}}
61 \newtheorem{proposition}{Proposition}
62 \newtheorem{theorem}{Theorem}
63 \newtheorem{exercise}{Exercise}[chapter]
64 \newtheorem{example}{Example}
65 \newtheorem{definition}{Definition}
66 \newtheorem{proof}{Proof}
68 \newcommand{\mymat}[1]{\mathcal{#1}}
69 \newcommand{\myvec}[1]{\mathbf{#1}}
71 \newcommand{\mbf}{\mathbf}
72 \newcommand{\mc}{\mathcal}
73 \newcommand{\N}{\mathcal{N}}
74 \newcommand{\B}{\mathcal{B}}
75 \newcommand{\bs}{\boldsymbol}
79 \let\OLDlstinputlisting\lstinputlisting
80 \renewcommand{\lstinputlisting}[2][]{\FloatBarrier\OLDlstinputlisting[#1]{#2}\FloatBarrier}
82 \DeclareMathOperator*{\argmax}{arg\,max}
85 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
89 basicstyle=\footnotesize\ttfamily,
100 % keywordstyle=[1]\textbf,
101 %identifierstyle=\textbf,
102 commentstyle=\color{white}\textbf,
103 stringstyle=\color{white}\ttfamily,
105 % framexleftmargin=17pt,
106 % framexrightmargin=5pt,
107 % framexbottommargin=4pt,
108 backgroundcolor=\color{lightgray},
109 basicstyle=\scriptsize
113 %% basicstyle=\footnotesize\ttfamily, % Standardschrift
114 %% %numbers=left, % Ort der Zeilennummern
115 %% numberstyle=\tiny, % Stil der Zeilennummern
116 %% %stepnumber=2, % Abstand zwischen den Zeilennummern
117 %% numbersep=5pt, % Abstand der Nummern zum Text
118 %% tabsize=2, % Groesse von Tabs
119 %% extendedchars=true, %
120 %% breaklines=true, % Zeilen werden Umgebrochen
121 %% keywordstyle=\color{red},
123 %% % keywordstyle=[1]\textbf, % Stil der Keywords
124 %% % keywordstyle=[2]\textbf, %
125 %% % keywordstyle=[3]\textbf, %
126 %% % keywordstyle=[4]\textbf, \sqrt{\sqrt{}} %
127 %% stringstyle=\color{white}\ttfamily, % Farbe der String
128 %% showspaces=false, % Leerzeichen anzeigen ?
129 %% showtabs=false, % Tabs anzeigen ?
131 %% framexleftmargin=17pt,
132 %% framexrightmargin=5pt,
133 %% framexbottommargin=4pt,
134 %% %backgroundcolor=\color{lightgray},
135 %% showstringspaces=false % Leerzeichen in Strings anzeigen ?
137 %% \lstloadlanguages{% Check Dokumentation for further languages ...
146 %% %\DeclareCaptionFont{blue}{\color{blue}}
148 %% %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
149 \DeclareCaptionFont{white}{\color{white}}
150 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
151 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
157 %\includeonly{Chapters/chapter19/ch19}
158 \DeclareCaptionLabelSeparator{colon}{. }
165 %%bibliography style to adopt
166 \bibliographyunit[\chapter]
167 \defaultbibliographystyle{plain}
171 \title{Designing Scientific Applications on GPUs }
173 \author{Raphaël Couturier}
178 %\include{frontmatter/Foreword}
183 \include{frontmatter/preface}
187 \include{Chapters/symbollist}
190 \part{Presentation of GPUs}
191 \include{Chapters/chapter1/ch1}
192 \include{Chapters/chapter2/ch2}
193 \part{Image processing}
194 \include{Chapters/chapter3/ch3}
195 \include{Chapters/chapter4/ch4}
196 \part{Software development}
197 \include{Chapters/chapter5/ch5}
198 \include{Chapters/chapter6/ch6}
200 \include{Chapters/chapter8/ch8}
201 \include{Chapters/chapter9/ch9}
202 \include{Chapters/chapter10/ch10}
204 \part{Numerical applications}
205 \include{Chapters/chapter7/ch7}
206 \include{Chapters/chapter11/ch11}
207 \include{Chapters/chapter12/ch12}
208 \include{Chapters/chapter13/ch13}
209 \include{Chapters/chapter14/ch14}
210 \include{Chapters/chapter15/ch15}
211 \include{Chapters/chapter16/ch16}
213 \include{Chapters/chapter17/ch17}
214 \include{Chapters/chapter18/ch18}
215 \include{Chapters/chapter19/ch19}
217 \bibliographystyle{hep}
218 %%%\bibliography{biblio}