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}
40 %% \usepackage{listings}
41 %% \usepackage{subfigure}
43 %% \usepackage{graphicx}
48 %\include{Chapters/chapter1/preamble}
49 \include{Chapters/chapter5/preamble}
51 \newcommand{\scalprod}[2]%
52 {\ensuremath{\langle #1 \, , #2 \rangle}}
59 \newtheorem{proposition}{Proposition}
60 \newtheorem{theorem}{Theorem}
61 \newtheorem{exercise}{Exercise}[chapter]
62 \newtheorem{example}{Example}
63 \newtheorem{definition}{Definition}
64 \newtheorem{proof}{Proof}
66 \newcommand{\mymat}[1]{\mathcal{#1}}
67 \newcommand{\myvec}[1]{\mathbf{#1}}
69 \newcommand{\mbf}{\mathbf}
70 \newcommand{\mc}{\mathcal}
71 %newcommand{\bs}{\boldsymbol}
72 \newcommand{\N}{\mathcal{N}}
73 \newcommand{\B}{\mathcal{B}}
75 \DeclareMathOperator*{\argmax}{arg\,max}
78 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
82 basicstyle=\footnotesize\ttfamily,
93 % keywordstyle=[1]\textbf,
94 %identifierstyle=\textbf,
95 commentstyle=\color{white}\textbf,
96 stringstyle=\color{white}\ttfamily,
98 % framexleftmargin=17pt,
99 % framexrightmargin=5pt,
100 % framexbottommargin=4pt,
101 backgroundcolor=\color{lightgray},
102 basicstyle=\scriptsize
106 %% basicstyle=\footnotesize\ttfamily, % Standardschrift
107 %% %numbers=left, % Ort der Zeilennummern
108 %% numberstyle=\tiny, % Stil der Zeilennummern
109 %% %stepnumber=2, % Abstand zwischen den Zeilennummern
110 %% numbersep=5pt, % Abstand der Nummern zum Text
111 %% tabsize=2, % Groesse von Tabs
112 %% extendedchars=true, %
113 %% breaklines=true, % Zeilen werden Umgebrochen
114 %% keywordstyle=\color{red},
116 %% % keywordstyle=[1]\textbf, % Stil der Keywords
117 %% % keywordstyle=[2]\textbf, %
118 %% % keywordstyle=[3]\textbf, %
119 %% % keywordstyle=[4]\textbf, \sqrt{\sqrt{}} %
120 %% stringstyle=\color{white}\ttfamily, % Farbe der String
121 %% showspaces=false, % Leerzeichen anzeigen ?
122 %% showtabs=false, % Tabs anzeigen ?
124 %% framexleftmargin=17pt,
125 %% framexrightmargin=5pt,
126 %% framexbottommargin=4pt,
127 %% %backgroundcolor=\color{lightgray},
128 %% showstringspaces=false % Leerzeichen in Strings anzeigen ?
130 %% \lstloadlanguages{% Check Dokumentation for further languages ...
139 %% %\DeclareCaptionFont{blue}{\color{blue}}
141 %% %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
142 \DeclareCaptionFont{white}{\color{white}}
143 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
144 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
150 %\includeonly{Chapters/chapter15/ch15}
155 %%bibliography style to adopt
156 \bibliographyunit[\chapter]
157 \defaultbibliographystyle{plain}
161 \title{Designing Scientific Applications on GPUs }
163 \author{Raphaël Couturier}
168 %\include{frontmatter/Foreword}
169 \include{frontmatter/preface}
177 \include{Chapters/symbollist}
180 \part{Presentation of GPUs}
181 \include{Chapters/chapter1/ch1}
182 \include{Chapters/chapter2/ch2}
183 \part{Image processing}
184 \include{Chapters/chapter3/ch3}
185 \include{Chapters/chapter4/ch4}
186 \part{Software development}
187 \include{Chapters/chapter5/ch5}
188 \include{Chapters/chapter6/ch6}
190 \include{Chapters/chapter8/ch8}
191 \include{Chapters/chapter9/ch9}
192 \include{Chapters/chapter10/ch10} %revoir ce chapitre
194 \part{Numerical applications}
195 \include{Chapters/chapter7/ch7}
196 \include{Chapters/chapter11/ch11}
197 \include{Chapters/chapter12/ch12}
198 \include{Chapters/chapter13/ch13}
199 \include{Chapters/chapter14/ch14}
200 \include{Chapters/chapter15/ch15}
201 \include{Chapters/chapter16/ch16}
203 \include{Chapters/chapter17/ch17}
204 \include{Chapters/chapter18/ch18}
205 \include{Chapters/chapter19/ch19}
207 \bibliographystyle{hep}
208 %%%\bibliography{biblio}