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

Private GIT Repository
4c27d29bfb6c4daccf489c6cc4114932c61fb975
[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
141 \begin{document}
142
143
144 %%bibliography style to adopt
145 \bibliographyunit[\chapter]
146 \defaultbibliographystyle{plain}
147
148
149
150 \title{Designing Scientific Applications on GPUs }
151
152 \author{Raphaël Couturier}
153
154 \maketitle
155
156 \frontmatter
157 %\include{frontmatter/Foreword}
158 %\include{frontmatter/preface}
159
160 \listoffigures
161 \listoftables
162 \tableofcontents
163
164 \mainmatter
165
166 \include{Chapters/symbollist}
167
168 \setcounter{page}{1}
169 \part{Presentation of GPUs}
170 \include{Chapters/chapter1/ch1}
171 \include{Chapters/chapter2/ch2}
172 \part{Image processing}
173 \include{Chapters/chapter3/ch3}
174 \part{Software development}
175 \include{Chapters/chapter5/ch5}
176 \include{Chapters/chapter6/ch6}
177 \part{Optimization}
178 \include{Chapters/chapter8/ch8}
179 \include{Chapters/chapter9/ch9}
180
181 \part{Numerical applications}
182 \include{Chapters/chapter7/ch7} %pb fonts
183 \include{Chapters/chapter11/ch11}
184 \include{Chapters/chapter12/ch12}
185 \include{Chapters/chapter13/ch13}
186 \include{Chapters/chapter14/ch14}
187 \include{Chapters/chapter15/ch15}
188 \include{Chapters/chapter16/ch16}
189 \part{Other}
190 \include{Chapters/chapter18/ch18}
191 \include{Chapters/chapter19/ch19}
192
193 \bibliographystyle{hep}
194 %%%\bibliography{biblio}
195
196 \clearpage
197 \printindex
198
199 \end{document}