]> AND Private Git Repository - book_gpu.git/blob - BookGPU/BookGPU.tex
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
last
[book_gpu.git] / BookGPU / BookGPU.tex
1 \documentclass[sunil1,ChapterTOCs]{sunil}
2 \usepackage[utf8]{inputenc}
3 %\usepackage{amssymb}
4 %usepackage{amsbsy}
5 \usepackage{amsfonts,amssymb}
6 \usepackage{amsmath}
7 \usepackage{amscd}
8 \usepackage{graphicx}
9 \usepackage{subfigure}
10 \usepackage{makeidx}
11 \usepackage{listings}
12 \usepackage{caption}
13 \usepackage{courier}
14 \usepackage{color}
15 \usepackage[sectionbib]{bibunits}
16 \usepackage{multicol}
17 \usepackage{cite}
18 %\usepackage{algorithm}
19 %\usepackage{algorithmic}
20 \usepackage[ruled,lined,linesnumbered]{algorithm2e}
21 \usepackage{epstopdf}
22 \usepackage{url}
23 \usepackage{multirow}
24 %\usepackage{layouts}
25 \usepackage{comment}
26 \usepackage{xcolor}
27 \usepackage{upquote}
28 \usepackage{framed}
29 \usepackage{pgfplots}
30 \usepackage{pgf}
31 \usepackage{tikz}
32 \usepackage{url}
33 \usepackage{dsfont}
34 \usepackage{commath}
35 \usepackage{stmaryrd}
36 \usepackage{moreverb}
37 \usepackage{commath}
38 \usepackage{numprint}
39 \usepackage{placeins} 
40 %\usepackage{float}
41 %\usepackage{lmodern}
42 %% \usepackage{listings}
43 %% \usepackage{subfigure}
44
45 %% \usepackage{graphicx}
46
47 \frenchspacing
48 \tolerance=5000
49
50 %\include{Chapters/chapter1/preamble}
51 \include{Chapters/chapter5/preamble}
52
53 \newcommand{\scalprod}[2]%
54 {\ensuremath{\langle #1 \, , #2 \rangle}}
55
56 \makeatletter
57
58
59 \makeatother
60
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}
67
68 \newcommand{\mymat}[1]{\mathcal{#1}}
69 \newcommand{\myvec}[1]{\mathbf{#1}} 
70
71 \newcommand{\mbf}{\mathbf}
72 \newcommand{\mc}{\mathcal}
73 \newcommand{\N}{\mathcal{N}}
74 \newcommand{\B}{\mathcal{B}}
75 \newcommand{\bs}{\boldsymbol}
76
77
78
79 \let\OLDlstinputlisting\lstinputlisting
80 \renewcommand{\lstinputlisting}[2][]{\FloatBarrier\OLDlstinputlisting[#1]{#2}\FloatBarrier} 
81
82 \DeclareMathOperator*{\argmax}{arg\,max}
83
84
85 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
86 \lstset{
87   language=C,
88   columns=fixed,
89   basicstyle=\footnotesize\ttfamily,
90   numbers=left,
91   firstnumber=1,
92   numberstyle=\tiny,
93   stepnumber=5,             
94   numbersep=5pt,              
95   tabsize=3,                  
96   extendedchars=true,         
97   breaklines=true,       
98   keywordstyle=\textbf,
99   frame=single,         
100   % keywordstyle=[1]\textbf,   
101   %identifierstyle=\textbf,
102   commentstyle=\color{darkgray}\textbf,
103   stringstyle=\color{darkgray}\ttfamily,
104   % xleftmargin=17pt,
105   % framexleftmargin=17pt,
106   % framexrightmargin=5pt,
107   % framexbottommargin=4pt,
108   backgroundcolor=\color{lightgray},
109   basicstyle=\scriptsize
110   }
111
112  %% \lstset{
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},
122 %%              frame=b,         
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 ?
130 %%          xleftmargin=17pt,
131 %%          framexleftmargin=17pt,
132 %%          framexrightmargin=5pt,
133 %%          framexbottommargin=4pt,
134 %%          %backgroundcolor=\color{lightgray},
135 %%          showstringspaces=false      % Leerzeichen in Strings anzeigen ?        
136 %%  }
137 %%  \lstloadlanguages{% Check Dokumentation for further languages ...
138 %%          %[Visual]Basic
139 %%          %Pascal
140 %%          C
141 %%          %C++
142 %%          %XML
143 %%          %HTML
144 %%          %Java
145 %%  }
146 %%   %\DeclareCaptionFont{blue}{\color{blue}} 
147
148 %%   %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
149 \DeclareCaptionFont{white}{\color{white}}
150 \DeclareCaptionFormat{listing}{\hspace{-3.5pt}\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{1.003\textwidth}{\hspace{15pt}#1#2#3}}}
151 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
152
153
154
155
156 \makeindex
157 %\includeonly{Chapters/chapter5/ch5}
158 \DeclareCaptionLabelSeparator{colon}{. }
159 \begin{document}
160
161
162
163
164
165 %%bibliography style to adopt
166 \bibliographyunit[\chapter]
167 \defaultbibliographystyle{plain}
168
169
170
171 \title{Designing Scientific Applications on GPUs }
172
173 \author{Raphaël Couturier}
174
175 %%%\maketitle
176 %\cleardoublepage
177 \frontmatter
178 %\include{frontmatter/Foreword}
179
180 \clearpage\setcounter{page}{7}
181 \tableofcontents
182 \listoffigures
183 \listoftables
184 \include{frontmatter/preface}
185
186 \mainmatter
187
188 \include{Chapters/symbollist}
189
190 \setcounter{page}{1}
191
192 \part{Presentation of GPUs}
193 \include{Chapters/chapter1/ch1}
194 \include{Chapters/chapter2/ch2}
195 \part{Image processing}
196 \include{Chapters/chapter3/ch3}
197 \include{Chapters/chapter4/ch4}
198 \part{Software development}
199 \include{Chapters/chapter5/ch5}  
200 \include{Chapters/chapter6/ch6}
201 \part{Optimization}
202 \include{Chapters/chapter8/ch8}
203 \include{Chapters/chapter9/ch9}
204 \include{Chapters/chapter10/ch10}  
205
206
207
208 \part{Numerical applications}
209
210 \include{Chapters/chapter7/ch7} 
211 \include{Chapters/chapter11/ch11}
212 \include{Chapters/chapter12/ch12}
213 \include{Chapters/chapter13/ch13}
214 \include{Chapters/chapter14/ch14}   
215 \include{Chapters/chapter15/ch15}
216 \include{Chapters/chapter16/ch16}
217 \part{Other}
218 \include{Chapters/chapter17/ch17}    
219 \include{Chapters/chapter18/ch18}
220 \include{Chapters/chapter19/ch19}
221
222 \bibliographystyle{hep}
223 %%%\bibliography{biblio}
224
225 \clearpage
226 \printindex
227
228 \end{document}