]> 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{amsfonts,amssymb}
5 \usepackage{amsmath}
6 \usepackage{amscd}
7 \usepackage{graphicx}
8 \usepackage{subfigure}
9 \usepackage{makeidx}
10 \usepackage{listings}
11 \usepackage{caption}
12 \usepackage{courier}
13 \usepackage{color}
14 \usepackage[sectionbib]{bibunits}
15 \usepackage{multicol}
16 \usepackage{cite}
17 %\usepackage{algorithm}
18 %\usepackage{algorithmic}
19 \usepackage[ruled,lined,linesnumbered]{algorithm2e}
20 \usepackage{epstopdf}
21 \usepackage{url}
22 \usepackage{multirow}
23 \usepackage{layouts}
24 \usepackage{comment}
25 \usepackage{xcolor}
26 \usepackage{upquote}
27 \usepackage{framed}
28 \usepackage{pgfplots}
29 \usepackage{pgf}
30 \usepackage{tikz}
31 \usepackage{url}
32 \usepackage{dsfont}
33 \usepackage{commath}
34 \usepackage{stmaryrd}
35 \usepackage{moreverb}
36 \usepackage{commath}
37 \usepackage{numprint}
38 %% \usepackage{listings}
39 %% \usepackage{subfigure}
40
41 %% \usepackage{graphicx}
42
43 \frenchspacing
44 \tolerance=5000
45
46 %\include{Chapters/chapter1/preamble}
47 \include{Chapters/chapter5/preamble}
48
49 \newcommand{\scalprod}[2]%
50 {\ensuremath{\langle #1 \, , #2 \rangle}}
51
52 \makeatletter
53
54
55 \makeatother
56
57 \newtheorem{proposition}{Proposition}
58 \newtheorem{theorem}{Theorem}
59 \newtheorem{exercise}{Exercise}[chapter]
60 \newtheorem{example}{Example}
61 \newtheorem{definition}{Definition}
62 \newtheorem{proof}{Proof}
63
64 \newcommand{\mymat}[1]{\mathcal{#1}}
65 \newcommand{\myvec}[1]{\mathbf{#1}} 
66
67 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
68 \lstset{
69   language=C,
70   columns=fixed,
71   basicstyle=\footnotesize\ttfamily,
72   numbers=left,
73   firstnumber=1,
74   numberstyle=\tiny,
75   stepnumber=5,             
76   numbersep=5pt,              
77   tabsize=3,                  
78   extendedchars=true,         
79   breaklines=true,       
80   keywordstyle=\textbf,
81   frame=single,         
82   % keywordstyle=[1]\textbf,   
83   %identifierstyle=\textbf,
84   commentstyle=\color{white}\textbf,
85   stringstyle=\color{white}\ttfamily,
86   % xleftmargin=17pt,
87   % framexleftmargin=17pt,
88   % framexrightmargin=5pt,
89   % framexbottommargin=4pt,
90   backgroundcolor=\color{lightgray},
91   basicstyle=\scriptsize
92   }
93
94  %% \lstset{
95 %%          basicstyle=\footnotesize\ttfamily, % Standardschrift
96 %%          %numbers=left,               % Ort der Zeilennummern
97 %%          numberstyle=\tiny,          % Stil der Zeilennummern
98 %%          %stepnumber=2,               % Abstand zwischen den Zeilennummern
99 %%          numbersep=5pt,              % Abstand der Nummern zum Text
100 %%          tabsize=2,                  % Groesse von Tabs
101 %%          extendedchars=true,         %
102 %%          breaklines=true,            % Zeilen werden Umgebrochen
103 %%          keywordstyle=\color{red},
104 %%              frame=b,         
105 %%  %        keywordstyle=[1]\textbf,    % Stil der Keywords
106 %%  %        keywordstyle=[2]\textbf,    %
107 %%  %        keywordstyle=[3]\textbf,    %
108 %%  %        keywordstyle=[4]\textbf,   \sqrt{\sqrt{}} %
109 %%          stringstyle=\color{white}\ttfamily, % Farbe der String
110 %%          showspaces=false,           % Leerzeichen anzeigen ?
111 %%          showtabs=false,             % Tabs anzeigen ?
112 %%          xleftmargin=17pt,
113 %%          framexleftmargin=17pt,
114 %%          framexrightmargin=5pt,
115 %%          framexbottommargin=4pt,
116 %%          %backgroundcolor=\color{lightgray},
117 %%          showstringspaces=false      % Leerzeichen in Strings anzeigen ?        
118 %%  }
119 %%  \lstloadlanguages{% Check Dokumentation for further languages ...
120 %%          %[Visual]Basic
121 %%          %Pascal
122 %%          C
123 %%          %C++
124 %%          %XML
125 %%          %HTML
126 %%          %Java
127 %%  }
128 %%   %\DeclareCaptionFont{blue}{\color{blue}} 
129
130 %%   %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
131 \DeclareCaptionFont{white}{\color{white}}
132 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
133 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
134
135
136
137
138 \makeindex
139
140 \begin{document}
141
142
143 %%bibliography style to adopt
144 \bibliographyunit[\chapter]
145 \defaultbibliographystyle{plain}
146
147
148
149 \title{Designing Scientific Applications on GPUs }
150
151 \author{Raphaël Couturier}
152
153 \maketitle
154
155 \frontmatter
156 %\include{frontmatter/Foreword}
157 %\include{frontmatter/preface}
158
159 \listoffigures
160 \listoftables
161 \tableofcontents
162
163 \mainmatter
164
165 \include{Chapters/symbollist}
166
167 \setcounter{page}{1}
168 \part{Presentation of GPUs}
169 \include{Chapters/chapter1/ch1}
170 \include{Chapters/chapter2/ch2}
171 \part{Image processing}
172 \include{Chapters/chapter3/ch3}
173 \part{Software development}
174 \include{Chapters/chapter5/ch5}
175 \include{Chapters/chapter6/ch6}
176 \part{Optimization}
177 \include{Chapters/chapter8/ch8}
178 \include{Chapters/chapter9/ch9}
179
180 \part{Numerical applications}
181 \include{Chapters/chapter7/ch7}
182 \include{Chapters/chapter11/ch11}
183 \include{Chapters/chapter12/ch12}
184 \include{Chapters/chapter13/ch13}
185 \include{Chapters/chapter14/ch14}
186 \include{Chapters/chapter15/ch15}
187 \include{Chapters/chapter16/ch16}
188 \part{Other}
189 \include{Chapters/chapter18/ch18}
190 \include{Chapters/chapter19/ch19}
191
192 \bibliographystyle{hep}
193 %%%\bibliography{biblio}
194
195 \clearpage
196 \printindex
197
198 \end{document}