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