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

Private GIT Repository
last version
[book_gpu.git] / BookGPU / Chapters / chapter7 / figures / DDPA_SPEEDUP.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
12 % defining custom colors
13 \definecolor{mycolor1}{rgb}{0,1,1}
14
15 \begin{tikzpicture}
16
17 \begin{axis}[%
18 view={0}{90},
19 width=\figurewidth,
20 height=\figureheight,
21 scale only axis,
22 xmin=8, xmax=15,
23 xtick={9,11,13,15},
24 xticklabels={$2^9$,$2^{11}$,$2^{13}$,$2^{15}$},
25 xlabel={Waves},
26 xmajorgrids,
27 ymin=0, ymax=4,
28 ytick={0,1,2,3,4},
29 ylabel={Speed-up},
30 ymajorgrids,
31 title={Speedup comparison of DD and PA},
32 legend style={at={(0.03,0.97)},anchor=north west,nodes=right}]
33 \addplot [
34 color=mycolor1,
35 solid,
36 line width=1.5pt,
37 mark size=4.0pt,
38 mark=o,
39 mark options={solid}
40 ]
41 coordinates{
42  (8,1.54342305738954)(9,1.4816137093895)(10,1.48079561042524)(11,1.46657842488418)(12,1.45782780295278)(13,1.4777586900106)(14,1.47985347985348)(15,1.46520146520147) 
43 };
44 \addlegendentry{PA 2GPUs};
45
46 \addplot [
47 color=blue,
48 solid,
49 line width=1.5pt,
50 mark size=4.0pt,
51 mark=o,
52 mark options={solid}
53 ]
54 coordinates{
55  (8,2.45093268450933)(9,2.5672268907563)(10,2.40490797546012)(11,2.43198037466548)(12,2.40398550724638)(13,2.42935935511243)(14,2.42909090909091)(15,2.42878787878788) 
56 };
57 \addlegendentry{PA 4GPUs};
58
59 \addplot [
60 color=mycolor1,
61 solid,
62 line width=1.5pt,
63 mark size=4.0pt,
64 mark=x,
65 mark options={solid}
66 ]
67 coordinates{
68  (8,0.454254184345942)(9,0.526875025559236)(10,0.668123554625199)(11,0.897521811593494)(12,1.135169425654)(13,1.51081742950859)(14,1.71611597846676)(15,1.87119434520488) 
69 };
70 \addlegendentry{DD 2GPUs};
71
72 \addplot [
73 color=blue,
74 solid,
75 line width=1.5pt,
76 mark size=4.0pt,
77 mark=x,
78 mark options={solid}
79 ]
80 coordinates{
81  (8,0.358395133178619)(9,0.434398936735779)(10,0.568510804783959)(11,0.808906868806336)(12,1.26354787756104)(13,1.86566615877371)(14,2.624136660208)(15,3.2117443099633) 
82 };
83 \addlegendentry{DD 4GPUs};
84
85 \addplot [
86 color=blue,
87 dashed,
88 line width=1.5pt,
89 forget plot
90 ]
91 coordinates{
92  (8,2.46153846153846)(9,2.46153846153846)(10,2.46153846153846)(11,2.46153846153846)(12,2.46153846153846)(13,2.46153846153846)(14,2.46153846153846)(15,2.46153846153846) 
93 };
94 \addplot [
95 color=mycolor1,
96 dashed,
97 line width=1.5pt,
98 forget plot
99 ]
100 coordinates{
101  (8,1.45454545454545)(9,1.45454545454545)(10,1.45454545454545)(11,1.45454545454545)(12,1.45454545454545)(13,1.45454545454545)(14,1.45454545454545)(15,1.45454545454545) 
102 };
103 \end{axis}
104 \end{tikzpicture}%