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

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