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

Private GIT Repository
new
[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{lmodern}
41 %% \usepackage{listings}
42 %% \usepackage{subfigure}
43
44 %% \usepackage{graphicx}
45
46 \frenchspacing
47 \tolerance=5000
48
49 %\include{Chapters/chapter1/preamble}
50 \include{Chapters/chapter5/preamble}
51
52 \newcommand{\scalprod}[2]%
53 {\ensuremath{\langle #1 \, , #2 \rangle}}
54
55 \makeatletter
56
57
58 \makeatother
59
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}
66
67 \newcommand{\mymat}[1]{\mathcal{#1}}
68 \newcommand{\myvec}[1]{\mathbf{#1}} 
69
70 \newcommand{\mbf}{\mathbf}
71 \newcommand{\mc}{\mathcal}
72 \newcommand{\N}{\mathcal{N}}
73 \newcommand{\B}{\mathcal{B}}
74 \newcommand{\bs}{\boldsymbol}
75
76
77
78 \let\OLDlstinputlisting\lstinputlisting
79 \renewcommand{\lstinputlisting}[2][]{\FloatBarrier\OLDlstinputlisting[#1]{#2}\FloatBarrier} 
80
81 \DeclareMathOperator*{\argmax}{arg\,max}
82
83
84 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
85 \lstset{
86   language=C,
87   columns=fixed,
88   basicstyle=\footnotesize\ttfamily,
89   numbers=left,
90   firstnumber=1,
91   numberstyle=\tiny,
92   stepnumber=5,             
93   numbersep=5pt,              
94   tabsize=3,                  
95   extendedchars=true,         
96   breaklines=true,       
97   keywordstyle=\textbf,
98   frame=single,         
99   % keywordstyle=[1]\textbf,   
100   %identifierstyle=\textbf,
101   commentstyle=\color{white}\textbf,
102   stringstyle=\color{white}\ttfamily,
103   % xleftmargin=17pt,
104   % framexleftmargin=17pt,
105   % framexrightmargin=5pt,
106   % framexbottommargin=4pt,
107   backgroundcolor=\color{lightgray},
108   basicstyle=\scriptsize
109   }
110
111  %% \lstset{
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},
121 %%              frame=b,         
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 ?
129 %%          xleftmargin=17pt,
130 %%          framexleftmargin=17pt,
131 %%          framexrightmargin=5pt,
132 %%          framexbottommargin=4pt,
133 %%          %backgroundcolor=\color{lightgray},
134 %%          showstringspaces=false      % Leerzeichen in Strings anzeigen ?        
135 %%  }
136 %%  \lstloadlanguages{% Check Dokumentation for further languages ...
137 %%          %[Visual]Basic
138 %%          %Pascal
139 %%          C
140 %%          %C++
141 %%          %XML
142 %%          %HTML
143 %%          %Java
144 %%  }
145 %%   %\DeclareCaptionFont{blue}{\color{blue}} 
146
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}}
151
152
153
154
155 \makeindex
156 %\includeonly{Chapters/chapter10/ch10}
157
158 \begin{document}
159
160
161
162
163
164 %%bibliography style to adopt
165 \bibliographyunit[\chapter]
166 \defaultbibliographystyle{plain}
167
168
169
170 \title{Designing Scientific Applications on GPUs }
171
172 \author{Raphaël Couturier}
173
174 \maketitle
175
176 \frontmatter
177 %\include{frontmatter/Foreword}
178 \include{frontmatter/preface}
179
180 \tableofcontents
181 \listoffigures
182 \listoftables
183
184 \mainmatter
185
186 \include{Chapters/symbollist}
187
188 \setcounter{page}{1}
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}
198 \part{Optimization}
199 \include{Chapters/chapter8/ch8}
200 \include{Chapters/chapter9/ch9}
201 \include{Chapters/chapter10/ch10}  
202
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}
211 \part{Other}
212 \include{Chapters/chapter17/ch17}    
213 \include{Chapters/chapter18/ch18}
214 \include{Chapters/chapter19/ch19}
215
216 \bibliographystyle{hep}
217 %%%\bibliography{biblio}
218
219 \clearpage
220 \printindex
221
222 \end{document}