]> AND Private Git Repository - book_gpu.git/blobdiff - BookGPU/BookGPU.tex
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
new
[book_gpu.git] / BookGPU / BookGPU.tex
index 49192113ea9e252ae0358868a00fe165fdc53740..bc6236c66bae651575524586d5f1082c34fbf56a 100755 (executable)
@@ -1,8 +1,10 @@
 \documentclass[sunil1,ChapterTOCs]{sunil}
 \usepackage[utf8]{inputenc}
 \usepackage{amssymb}
 \documentclass[sunil1,ChapterTOCs]{sunil}
 \usepackage[utf8]{inputenc}
 \usepackage{amssymb}
+%usepackage{amsbsy}
 \usepackage{amsfonts,amssymb}
 \usepackage{amsmath}
 \usepackage{amsfonts,amssymb}
 \usepackage{amsmath}
+\usepackage{amscd}
 \usepackage{graphicx}
 \usepackage{subfigure}
 \usepackage{makeidx}
 \usepackage{graphicx}
 \usepackage{subfigure}
 \usepackage{makeidx}
@@ -13,9 +15,9 @@
 \usepackage[sectionbib]{bibunits}
 \usepackage{multicol}
 \usepackage{cite}
 \usepackage[sectionbib]{bibunits}
 \usepackage{multicol}
 \usepackage{cite}
-\usepackage{algorithm}
-\usepackage{algorithmic}
-\usepackage[lined,boxed,commentsnumbered]{algorithm2e}
+%\usepackage{algorithm}
+%\usepackage{algorithmic}
+\usepackage[ruled,lined,linesnumbered]{algorithm2e}
 \usepackage{epstopdf}
 \usepackage{url}
 \usepackage{multirow}
 \usepackage{epstopdf}
 \usepackage{url}
 \usepackage{multirow}
 \usepackage{pgfplots}
 \usepackage{pgf}
 \usepackage{tikz}
 \usepackage{pgfplots}
 \usepackage{pgf}
 \usepackage{tikz}
+\usepackage{url}
+\usepackage{dsfont}
+\usepackage{commath}
+\usepackage{stmaryrd}
+\usepackage{moreverb}
+\usepackage{commath}
+\usepackage{numprint}
+%\usepackage{lmodern}
 %% \usepackage{listings}
 %% \usepackage{subfigure}
 
 %% \usepackage{listings}
 %% \usepackage{subfigure}
 
 \frenchspacing
 \tolerance=5000
 
 \frenchspacing
 \tolerance=5000
 
-\include{Chapters/chapter1/preamble}
+%\include{Chapters/chapter1/preamble}
 \include{Chapters/chapter5/preamble}
 
 \include{Chapters/chapter5/preamble}
 
-
+\newcommand{\scalprod}[2]%
+{\ensuremath{\langle #1 \, , #2 \rangle}}
 
 \makeatletter
 
 
 \makeatletter
 
 \newcommand{\mymat}[1]{\mathcal{#1}}
 \newcommand{\myvec}[1]{\mathbf{#1}} 
 
 \newcommand{\mymat}[1]{\mathcal{#1}}
 \newcommand{\myvec}[1]{\mathbf{#1}} 
 
-
- \lstset{
-         basicstyle=\footnotesize\ttfamily, % Standardschrift
-         %numbers=left,               % Ort der Zeilennummern
-         numberstyle=\tiny,          % Stil der Zeilennummern
-         %stepnumber=2,               % Abstand zwischen den Zeilennummern
-         numbersep=5pt,              % Abstand der Nummern zum Text
-         tabsize=2,                  % Groesse von Tabs
-         extendedchars=true,         %
-         breaklines=true,            % Zeilen werden Umgebrochen
-         keywordstyle=\color{red},
-               frame=b,         
- %        keywordstyle=[1]\textbf,    % Stil der Keywords
- %        keywordstyle=[2]\textbf,    %
- %        keywordstyle=[3]\textbf,    %
- %        keywordstyle=[4]\textbf,   \sqrt{\sqrt{}} %
-         stringstyle=\color{white}\ttfamily, % Farbe der String
-         showspaces=false,           % Leerzeichen anzeigen ?
-         showtabs=false,             % Tabs anzeigen ?
-         xleftmargin=17pt,
-         framexleftmargin=17pt,
-         framexrightmargin=5pt,
-         framexbottommargin=4pt,
-         %backgroundcolor=\color{lightgray},
-         showstringspaces=false      % Leerzeichen in Strings anzeigen ?        
- }
- \lstloadlanguages{% Check Dokumentation for further languages ...
-         %[Visual]Basic
-         %Pascal
-         C
-         %C++
-         %XML
-         %HTML
-         %Java
- }
-  %\DeclareCaptionFont{blue}{\color{blue}} 
-
-  %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
+\newcommand{\mbf}{\mathbf}
+\newcommand{\mc}{\mathcal}
+%newcommand{\bs}{\boldsymbol}
+\newcommand{\N}{\mathcal{N}}
+\newcommand{\B}{\mathcal{B}}
+
+\DeclareMathOperator*{\argmax}{arg\,max}
+
+
+\lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
+\lstset{
+  language=C,
+  columns=fixed,
+  basicstyle=\footnotesize\ttfamily,
+  numbers=left,
+  firstnumber=1,
+  numberstyle=\tiny,
+  stepnumber=5,             
+  numbersep=5pt,              
+  tabsize=3,                  
+  extendedchars=true,         
+  breaklines=true,       
+  keywordstyle=\textbf,
+  frame=single,         
+  % keywordstyle=[1]\textbf,   
+  %identifierstyle=\textbf,
+  commentstyle=\color{white}\textbf,
+  stringstyle=\color{white}\ttfamily,
+  % xleftmargin=17pt,
+  % framexleftmargin=17pt,
+  % framexrightmargin=5pt,
+  % framexbottommargin=4pt,
+  backgroundcolor=\color{lightgray},
+  basicstyle=\scriptsize
+  }
+
+ %% \lstset{
+%%          basicstyle=\footnotesize\ttfamily, % Standardschrift
+%%          %numbers=left,               % Ort der Zeilennummern
+%%          numberstyle=\tiny,          % Stil der Zeilennummern
+%%          %stepnumber=2,               % Abstand zwischen den Zeilennummern
+%%          numbersep=5pt,              % Abstand der Nummern zum Text
+%%          tabsize=2,                  % Groesse von Tabs
+%%          extendedchars=true,         %
+%%          breaklines=true,            % Zeilen werden Umgebrochen
+%%          keywordstyle=\color{red},
+%%                     frame=b,         
+%%  %        keywordstyle=[1]\textbf,    % Stil der Keywords
+%%  %        keywordstyle=[2]\textbf,    %
+%%  %        keywordstyle=[3]\textbf,    %
+%%  %        keywordstyle=[4]\textbf,   \sqrt{\sqrt{}} %
+%%          stringstyle=\color{white}\ttfamily, % Farbe der String
+%%          showspaces=false,           % Leerzeichen anzeigen ?
+%%          showtabs=false,             % Tabs anzeigen ?
+%%          xleftmargin=17pt,
+%%          framexleftmargin=17pt,
+%%          framexrightmargin=5pt,
+%%          framexbottommargin=4pt,
+%%          %backgroundcolor=\color{lightgray},
+%%          showstringspaces=false      % Leerzeichen in Strings anzeigen ?        
+%%  }
+%%  \lstloadlanguages{% Check Dokumentation for further languages ...
+%%          %[Visual]Basic
+%%          %Pascal
+%%          C
+%%          %C++
+%%          %XML
+%%          %HTML
+%%          %Java
+%%  }
+%%   %\DeclareCaptionFont{blue}{\color{blue}} 
+
+%%   %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
 \DeclareCaptionFont{white}{\color{white}}
 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
 
 
 
 \DeclareCaptionFont{white}{\color{white}}
 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
 
 
 
+
 \makeindex
 \makeindex
+%\includeonly{Chapters/chapter10/ch10}
 
 \begin{document}
 
 
 \begin{document}
 
 \maketitle
 
 \frontmatter
 \maketitle
 
 \frontmatter
-\include{frontmatter/Foreword}
+%\include{frontmatter/Foreword}
 \include{frontmatter/preface}
 
 \listoffigures
 \include{frontmatter/preface}
 
 \listoffigures
 \include{Chapters/symbollist}
 
 \setcounter{page}{1}
 \include{Chapters/symbollist}
 
 \setcounter{page}{1}
-\part{This is a Part}
+\part{Presentation of GPUs}
 \include{Chapters/chapter1/ch1}
 \include{Chapters/chapter2/ch2}
 \include{Chapters/chapter1/ch1}
 \include{Chapters/chapter2/ch2}
+\part{Image processing}
 \include{Chapters/chapter3/ch3}
 \include{Chapters/chapter3/ch3}
+\include{Chapters/chapter4/ch4}
+\part{Software development}
 \include{Chapters/chapter5/ch5}
 \include{Chapters/chapter6/ch6}
 \include{Chapters/chapter5/ch5}
 \include{Chapters/chapter6/ch6}
-\include{Chapters/chapter7/ch7}
+\part{Optimization}
 \include{Chapters/chapter8/ch8}
 \include{Chapters/chapter8/ch8}
+\include{Chapters/chapter9/ch9}
+\include{Chapters/chapter10/ch10}
+
+\part{Numerical applications}
+\include{Chapters/chapter7/ch7} 
 \include{Chapters/chapter11/ch11}
 \include{Chapters/chapter11/ch11}
-\include{Chapters/chapter14/ch14}
+\include{Chapters/chapter12/ch12}
+\include{Chapters/chapter13/ch13}
+\include{Chapters/chapter14/ch14}   %index
 \include{Chapters/chapter15/ch15}
 \include{Chapters/chapter15/ch15}
+\include{Chapters/chapter16/ch16}
+\part{Other}
+\include{Chapters/chapter17/ch17}    %index
+\include{Chapters/chapter18/ch18}
+\include{Chapters/chapter19/ch19}
 
 \bibliographystyle{hep}
 %%%\bibliography{biblio}
 
 \bibliographystyle{hep}
 %%%\bibliography{biblio}