]> AND Private Git Repository - book_gpu.git/blob - BookGPU/Chapters/chapter7/figures/TeslaK20PerformanceSpeedup3D.tikz
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
correct ch 10
[book_gpu.git] / BookGPU / Chapters / chapter7 / figures / TeslaK20PerformanceSpeedup3D.tikz
1 % This file was created by matlab2tikz v0.2.2.
2 % Copyright (c) 2008--2012, Nico Schlömer <nico.schloemer@gmail.com>
3 % All rights reserved.
4
5 % The latest updates can be retrieved from
6 %   http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz
7 % where you can also make suggestions and rate matlab2tikz.
8
9
10
11 \begin{tikzpicture}
12
13 \begin{semilogxaxis}[%
14 view={0}{90},
15 width=\figurewidth,
16 height=\figureheight,
17 scale only axis,
18 xmin=100, xmax=100000000,
19 xminorticks=true,
20 xlabel={N},
21 xmajorgrids,
22 xminorgrids,
23 ymin=1.1, ymax=1.6,
24 ylabel={x speedup},
25 ymajorgrids,
26 legend style={at={(0.03,0.97)},anchor=north west,nodes=right}]
27 \addplot [
28 color=darkgray!40!black,
29 solid,
30 line width=1.0pt,
31 mark=*,
32 mark options={solid,fill=lightgray!80!black}
33 ]
34 coordinates{
35  (7623,1.17826815990382)(15246,1.18995842700184)(30492,1.18968844405879)(60984,1.19690935739924)(121968,1.24855069885735)(243936,1.26722058284382)(487872,1.31092294094867)(975744,1.38002802822793)(1951488,1.45908715558483)(3902976,1.51468849139677)(7805952,1.54474954467052)(15611904,1.56631661856442)(31223808,1.57603478594654) 
36 };
37 \addlegendentry{single vs double};
38
39 \addplot [
40 color=darkgray!40!black,
41 solid,
42 line width=1.0pt,
43 mark=triangle*,
44 mark options={solid,fill=lightgray!80!black}
45 ]
46 coordinates{
47  (7623,1.13543482309013)(15246,1.14912259863151)(30492,1.15656707096296)(60984,1.14673372228102)(121968,1.17363974850415)(243936,1.15736391561378)(487872,1.18628183616286)(975744,1.20947397446761)(1951488,1.24542864784594)(3902976,1.25930411615096)(7805952,1.2702751751033)(15611904,1.2820029529798)(31223808,1.28282334399723) 
48 };
49 \addlegendentry{mixed vs double};
50
51 \end{semilogxaxis}
52 \end{tikzpicture}%