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}
38 %% \usepackage{listings}
39 %% \usepackage{subfigure}
41 %% \usepackage{graphicx}
46 %\include{Chapters/chapter1/preamble}
47 \include{Chapters/chapter5/preamble}
49 \newcommand{\scalprod}[2]%
50 {\ensuremath{\langle #1 \, , #2 \rangle}}
57 \newtheorem{proposition}{Proposition}
58 \newtheorem{theorem}{Theorem}
59 \newtheorem{exercise}{Exercise}[chapter]
60 \newtheorem{example}{Example}
61 \newtheorem{definition}{Definition}
62 \newtheorem{proof}{Proof}
64 \newcommand{\mymat}[1]{\mathcal{#1}}
65 \newcommand{\myvec}[1]{\mathbf{#1}}
67 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
71 basicstyle=\footnotesize\ttfamily,
82 % keywordstyle=[1]\textbf,
83 %identifierstyle=\textbf,
84 commentstyle=\color{white}\textbf,
85 stringstyle=\color{white}\ttfamily,
87 % framexleftmargin=17pt,
88 % framexrightmargin=5pt,
89 % framexbottommargin=4pt,
90 backgroundcolor=\color{lightgray},
91 basicstyle=\scriptsize
95 %% basicstyle=\footnotesize\ttfamily, % Standardschrift
96 %% %numbers=left, % Ort der Zeilennummern
97 %% numberstyle=\tiny, % Stil der Zeilennummern
98 %% %stepnumber=2, % Abstand zwischen den Zeilennummern
99 %% numbersep=5pt, % Abstand der Nummern zum Text
100 %% tabsize=2, % Groesse von Tabs
101 %% extendedchars=true, %
102 %% breaklines=true, % Zeilen werden Umgebrochen
103 %% keywordstyle=\color{red},
105 %% % keywordstyle=[1]\textbf, % Stil der Keywords
106 %% % keywordstyle=[2]\textbf, %
107 %% % keywordstyle=[3]\textbf, %
108 %% % keywordstyle=[4]\textbf, \sqrt{\sqrt{}} %
109 %% stringstyle=\color{white}\ttfamily, % Farbe der String
110 %% showspaces=false, % Leerzeichen anzeigen ?
111 %% showtabs=false, % Tabs anzeigen ?
113 %% framexleftmargin=17pt,
114 %% framexrightmargin=5pt,
115 %% framexbottommargin=4pt,
116 %% %backgroundcolor=\color{lightgray},
117 %% showstringspaces=false % Leerzeichen in Strings anzeigen ?
119 %% \lstloadlanguages{% Check Dokumentation for further languages ...
128 %% %\DeclareCaptionFont{blue}{\color{blue}}
130 %% %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
131 \DeclareCaptionFont{white}{\color{white}}
132 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
133 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
143 %%bibliography style to adopt
144 \bibliographyunit[\chapter]
145 \defaultbibliographystyle{plain}
149 \title{Designing Scientific Applications on GPUs }
151 \author{Raphaël Couturier}
156 %\include{frontmatter/Foreword}
157 %\include{frontmatter/preface}
165 \include{Chapters/symbollist}
168 \part{Presentation of GPUs}
169 \include{Chapters/chapter1/ch1}
170 \include{Chapters/chapter2/ch2}
171 \part{Image processing}
172 \include{Chapters/chapter3/ch3}
173 \part{Software development}
174 \include{Chapters/chapter5/ch5}
175 \include{Chapters/chapter6/ch6}
177 \include{Chapters/chapter8/ch8}
178 \include{Chapters/chapter9/ch9}
180 \part{Numerical applications}
181 \include{Chapters/chapter7/ch7}
182 \include{Chapters/chapter11/ch11}
183 \include{Chapters/chapter12/ch12}
184 \include{Chapters/chapter13/ch13}
185 \include{Chapters/chapter14/ch14}
186 \include{Chapters/chapter15/ch15}
187 \include{Chapters/chapter16/ch16}
189 \include{Chapters/chapter18/ch18}
190 \include{Chapters/chapter19/ch19}
192 \bibliographystyle{hep}
193 %%%\bibliography{biblio}