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

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