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}
37 %% \usepackage{listings}
38 %% \usepackage{subfigure}
40 %% \usepackage{graphicx}
45 %\include{Chapters/chapter1/preamble}
46 \include{Chapters/chapter5/preamble}
48 \newcommand{\scalprod}[2]%
49 {\ensuremath{\langle #1 \, , #2 \rangle}}
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}
63 \newcommand{\mymat}[1]{\mathcal{#1}}
64 \newcommand{\myvec}[1]{\mathbf{#1}}
66 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
70 basicstyle=\footnotesize\ttfamily,
81 % keywordstyle=[1]\textbf,
82 %identifierstyle=\textbf,
83 commentstyle=\color{white}\textbf,
84 stringstyle=\color{white}\ttfamily,
86 % framexleftmargin=17pt,
87 % framexrightmargin=5pt,
88 % framexbottommargin=4pt,
89 backgroundcolor=\color{lightgray},
90 basicstyle=\scriptsize
94 %% basicstyle=\footnotesize\ttfamily, % Standardschrift
95 %% %numbers=left, % Ort der Zeilennummern
96 %% numberstyle=\tiny, % Stil der Zeilennummern
97 %% %stepnumber=2, % Abstand zwischen den Zeilennummern
98 %% numbersep=5pt, % Abstand der Nummern zum Text
99 %% tabsize=2, % Groesse von Tabs
100 %% extendedchars=true, %
101 %% breaklines=true, % Zeilen werden Umgebrochen
102 %% keywordstyle=\color{red},
104 %% % keywordstyle=[1]\textbf, % Stil der Keywords
105 %% % keywordstyle=[2]\textbf, %
106 %% % keywordstyle=[3]\textbf, %
107 %% % keywordstyle=[4]\textbf, \sqrt{\sqrt{}} %
108 %% stringstyle=\color{white}\ttfamily, % Farbe der String
109 %% showspaces=false, % Leerzeichen anzeigen ?
110 %% showtabs=false, % Tabs anzeigen ?
112 %% framexleftmargin=17pt,
113 %% framexrightmargin=5pt,
114 %% framexbottommargin=4pt,
115 %% %backgroundcolor=\color{lightgray},
116 %% showstringspaces=false % Leerzeichen in Strings anzeigen ?
118 %% \lstloadlanguages{% Check Dokumentation for further languages ...
127 %% %\DeclareCaptionFont{blue}{\color{blue}}
129 %% %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
130 \DeclareCaptionFont{white}{\color{white}}
131 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
132 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
142 %%bibliography style to adopt
143 \bibliographyunit[\chapter]
144 \defaultbibliographystyle{plain}
148 \title{Designing Scientific Applications on GPUs }
150 \author{Raphaël Couturier}
155 \include{frontmatter/Foreword}
156 \include{frontmatter/preface}
164 \include{Chapters/symbollist}
167 \part{This is a Part}
168 \include{Chapters/chapter1/ch1}
169 \include{Chapters/chapter2/ch2}
170 \include{Chapters/chapter3/ch3}
171 \include{Chapters/chapter5/ch5}
172 \include{Chapters/chapter6/ch6}
173 \include{Chapters/chapter7/ch7}
174 \include{Chapters/chapter8/ch8}
175 \include{Chapters/chapter9/ch9}
176 \include{Chapters/chapter11/ch11}
177 \include{Chapters/chapter12/ch12}
178 \include{Chapters/chapter13/ch13}
179 \include{Chapters/chapter14/ch14}
180 \include{Chapters/chapter15/ch15}
181 \include{Chapters/chapter16/ch16}
182 \include{Chapters/chapter18/ch18}
184 \bibliographystyle{hep}
185 %%%\bibliography{biblio}