1 \documentclass[sunil1,ChapterTOCs]{sunil}
2 \usepackage[utf8]{inputenc}
4 \usepackage{amsfonts,amssymb}
14 \usepackage[sectionbib]{bibunits}
17 %\usepackage{algorithm}
18 %\usepackage{algorithmic}
19 \usepackage[ruled,lined,linesnumbered]{algorithm2e}
39 %% \usepackage{listings}
40 %% \usepackage{subfigure}
42 %% \usepackage{graphicx}
47 %\include{Chapters/chapter1/preamble}
48 \include{Chapters/chapter5/preamble}
50 \newcommand{\scalprod}[2]%
51 {\ensuremath{\langle #1 \, , #2 \rangle}}
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}
65 \newcommand{\mymat}[1]{\mathcal{#1}}
66 \newcommand{\myvec}[1]{\mathbf{#1}}
68 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
72 basicstyle=\footnotesize\ttfamily,
83 % keywordstyle=[1]\textbf,
84 %identifierstyle=\textbf,
85 commentstyle=\color{white}\textbf,
86 stringstyle=\color{white}\ttfamily,
88 % framexleftmargin=17pt,
89 % framexrightmargin=5pt,
90 % framexbottommargin=4pt,
91 backgroundcolor=\color{lightgray},
92 basicstyle=\scriptsize
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},
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 ?
114 %% framexleftmargin=17pt,
115 %% framexrightmargin=5pt,
116 %% framexbottommargin=4pt,
117 %% %backgroundcolor=\color{lightgray},
118 %% showstringspaces=false % Leerzeichen in Strings anzeigen ?
120 %% \lstloadlanguages{% Check Dokumentation for further languages ...
129 %% %\DeclareCaptionFont{blue}{\color{blue}}
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}}
144 %%bibliography style to adopt
145 \bibliographyunit[\chapter]
146 \defaultbibliographystyle{plain}
150 \title{Designing Scientific Applications on GPUs }
152 \author{Raphaël Couturier}
157 %\include{frontmatter/Foreword}
158 %\include{frontmatter/preface}
166 \include{Chapters/symbollist}
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}
178 \include{Chapters/chapter8/ch8}
179 \include{Chapters/chapter9/ch9}
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}
190 \include{Chapters/chapter17/ch17}
191 \include{Chapters/chapter18/ch18}
192 \include{Chapters/chapter19/ch19}
194 \bibliographystyle{hep}
195 %%%\bibliography{biblio}