1 \documentclass[sunil1,ChapterTOCs]{sunil}
2 \usepackage[utf8]{inputenc}
5 \usepackage{amsfonts,amssymb}
15 \usepackage[sectionbib]{bibunits}
18 %\usepackage{algorithm}
19 %\usepackage{algorithmic}
20 \usepackage[ruled,lined,linesnumbered]{algorithm2e}
40 %% \usepackage{listings}
41 %% \usepackage{subfigure}
43 %% \usepackage{graphicx}
48 %\include{Chapters/chapter1/preamble}
49 \include{Chapters/chapter5/preamble}
51 \newcommand{\scalprod}[2]%
52 {\ensuremath{\langle #1 \, , #2 \rangle}}
59 \newtheorem{proposition}{Proposition}
60 \newtheorem{theorem}{Theorem}
61 \newtheorem{exercise}{Exercise}[chapter]
62 \newtheorem{example}{Example}
63 \newtheorem{definition}{Definition}
64 \newtheorem{proof}{Proof}
66 \newcommand{\mymat}[1]{\mathcal{#1}}
67 \newcommand{\myvec}[1]{\mathbf{#1}}
69 \newcommand{\mbf}{\mathbf}
70 \newcommand{\mc}{\mathcal}
71 %newcommand{\bs}{\boldsymbol}
72 \newcommand{\N}{\mathcal{N}}
73 \newcommand{\B}{\mathcal{B}}
75 \DeclareMathOperator*{\argmax}{arg\,max}
78 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
82 basicstyle=\footnotesize\ttfamily,
93 % keywordstyle=[1]\textbf,
94 %identifierstyle=\textbf,
95 commentstyle=\color{white}\textbf,
96 stringstyle=\color{white}\ttfamily,
98 % framexleftmargin=17pt,
99 % framexrightmargin=5pt,
100 % framexbottommargin=4pt,
101 backgroundcolor=\color{lightgray},
102 basicstyle=\scriptsize
106 %% basicstyle=\footnotesize\ttfamily, % Standardschrift
107 %% %numbers=left, % Ort der Zeilennummern
108 %% numberstyle=\tiny, % Stil der Zeilennummern
109 %% %stepnumber=2, % Abstand zwischen den Zeilennummern
110 %% numbersep=5pt, % Abstand der Nummern zum Text
111 %% tabsize=2, % Groesse von Tabs
112 %% extendedchars=true, %
113 %% breaklines=true, % Zeilen werden Umgebrochen
114 %% keywordstyle=\color{red},
116 %% % keywordstyle=[1]\textbf, % Stil der Keywords
117 %% % keywordstyle=[2]\textbf, %
118 %% % keywordstyle=[3]\textbf, %
119 %% % keywordstyle=[4]\textbf, \sqrt{\sqrt{}} %
120 %% stringstyle=\color{white}\ttfamily, % Farbe der String
121 %% showspaces=false, % Leerzeichen anzeigen ?
122 %% showtabs=false, % Tabs anzeigen ?
124 %% framexleftmargin=17pt,
125 %% framexrightmargin=5pt,
126 %% framexbottommargin=4pt,
127 %% %backgroundcolor=\color{lightgray},
128 %% showstringspaces=false % Leerzeichen in Strings anzeigen ?
130 %% \lstloadlanguages{% Check Dokumentation for further languages ...
139 %% %\DeclareCaptionFont{blue}{\color{blue}}
141 %% %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
142 \DeclareCaptionFont{white}{\color{white}}
143 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
144 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
150 \includeonly{Chapters/chapter10/ch10}
155 %%bibliography style to adopt
156 \bibliographyunit[\chapter]
157 \defaultbibliographystyle{plain}
161 \title{Designing Scientific Applications on GPUs }
163 \author{Raphaël Couturier}
168 %\include{frontmatter/Foreword}
169 %\include{frontmatter/preface}
177 \include{Chapters/symbollist}
180 \part{Presentation of GPUs}
181 \include{Chapters/chapter1/ch1}
182 \include{Chapters/chapter2/ch2}
183 \part{Image processing}
184 \include{Chapters/chapter3/ch3}
185 \part{Software development}
186 \include{Chapters/chapter5/ch5}
187 \include{Chapters/chapter6/ch6}
189 \include{Chapters/chapter8/ch8}
190 \include{Chapters/chapter9/ch9}
191 \include{Chapters/chapter10/ch10}
193 \part{Numerical applications}
194 \include{Chapters/chapter7/ch7} %pb fonts
195 \include{Chapters/chapter11/ch11}
196 \include{Chapters/chapter12/ch12}
197 \include{Chapters/chapter13/ch13}
198 \include{Chapters/chapter14/ch14}
199 \include{Chapters/chapter15/ch15}
200 \include{Chapters/chapter16/ch16}
202 \include{Chapters/chapter17/ch17}
203 \include{Chapters/chapter18/ch18}
204 \include{Chapters/chapter19/ch19}
206 \bibliographystyle{hep}
207 %%%\bibliography{biblio}