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

Private GIT Repository
update ch3
[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
67  \lstset{
68          basicstyle=\footnotesize\ttfamily, % Standardschrift
69          %numbers=left,               % Ort der Zeilennummern
70          numberstyle=\tiny,          % Stil der Zeilennummern
71          %stepnumber=2,               % Abstand zwischen den Zeilennummern
72          numbersep=5pt,              % Abstand der Nummern zum Text
73          tabsize=2,                  % Groesse von Tabs
74          extendedchars=true,         %
75          breaklines=true,            % Zeilen werden Umgebrochen
76          keywordstyle=\color{red},
77                 frame=b,         
78  %        keywordstyle=[1]\textbf,    % Stil der Keywords
79  %        keywordstyle=[2]\textbf,    %
80  %        keywordstyle=[3]\textbf,    %
81  %        keywordstyle=[4]\textbf,   \sqrt{\sqrt{}} %
82          stringstyle=\color{white}\ttfamily, % Farbe der String
83          showspaces=false,           % Leerzeichen anzeigen ?
84          showtabs=false,             % Tabs anzeigen ?
85          xleftmargin=17pt,
86          framexleftmargin=17pt,
87          framexrightmargin=5pt,
88          framexbottommargin=4pt,
89          %backgroundcolor=\color{lightgray},
90          showstringspaces=false      % Leerzeichen in Strings anzeigen ?        
91  }
92  \lstloadlanguages{% Check Dokumentation for further languages ...
93          %[Visual]Basic
94          %Pascal
95          C
96          %C++
97          %XML
98          %HTML
99          %Java
100  }
101   %\DeclareCaptionFont{blue}{\color{blue}} 
102
103   %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
104 \DeclareCaptionFont{white}{\color{white}}
105 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
106 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
107
108
109
110
111 \makeindex
112
113 \begin{document}
114
115
116 %%bibliography style to adopt
117 \bibliographyunit[\chapter]
118 \defaultbibliographystyle{plain}
119
120
121
122 \title{Designing Scientific Applications on GPUs }
123
124 \author{Raphaël Couturier}
125
126 \maketitle
127
128 \frontmatter
129 \include{frontmatter/Foreword}
130 \include{frontmatter/preface}
131
132 \listoffigures
133 \listoftables
134 \tableofcontents
135
136 \mainmatter
137
138 \include{Chapters/symbollist}
139
140 \setcounter{page}{1}
141 \part{This is a Part}
142 \include{Chapters/chapter1/ch1}
143 \include{Chapters/chapter2/ch2}
144 \include{Chapters/chapter3/ch3}
145 \include{Chapters/chapter5/ch5}
146 \include{Chapters/chapter6/ch6}
147 \include{Chapters/chapter7/ch7}
148 \include{Chapters/chapter8/ch8}
149 \include{Chapters/chapter9/ch9}
150 \include{Chapters/chapter11/ch11}
151 \include{Chapters/chapter12/ch12}
152 \include{Chapters/chapter13/ch13}
153 \include{Chapters/chapter14/ch14}
154 \include{Chapters/chapter15/ch15}
155 \include{Chapters/chapter16/ch16}
156  \include{Chapters/chapter18/ch18}
157
158 \bibliographystyle{hep}
159 %%%\bibliography{biblio}
160
161 \clearpage
162 \printindex
163
164 \end{document}