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}}
140 %\includeonly{Chapters/chapter17/ch17}
145 %%bibliography style to adopt
146 \bibliographyunit[\chapter]
147 \defaultbibliographystyle{plain}
151 \title{Designing Scientific Applications on GPUs }
153 \author{Raphaël Couturier}
158 %\include{frontmatter/Foreword}
159 %\include{frontmatter/preface}
167 \include{Chapters/symbollist}
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}
179 \include{Chapters/chapter8/ch8}
180 \include{Chapters/chapter9/ch9}
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}
191 \include{Chapters/chapter17/ch17}
192 \include{Chapters/chapter18/ch18}
193 \include{Chapters/chapter19/ch19}
195 \bibliographystyle{hep}
196 %%%\bibliography{biblio}