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

Private GIT Repository
last version
[book_gpu.git] / BookGPU / Chapters / chapter5 / figures / MultiGPUAlphaPerformanceTeslaM2050_N16777216.tikz
1 % This file was created by matlab2tikz v0.4.0.
2 % Copyright (c) 2008--2013, 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.19047619047619,0.19047619047619,0.19047619047619}%
14 \definecolor{mycolor2}{rgb}{0.396825396825397,0.396825396825397,0.396825396825397}%
15 \definecolor{mycolor3}{rgb}{0.603174603174603,0.603174603174603,0.603174603174603}%
16 \definecolor{mycolor4}{rgb}{0.80952380952381,0.80952380952381,0.80952380952381}%
17
18 \begin{tikzpicture}
19
20 \begin{axis}[%
21 width=\figurewidth,
22 height=\figureheight,
23 area legend,
24 scale only axis,
25 xmin=0,
26 xmax=5,
27 xtick={1, 2, 3, 4},
28 xlabel={$\alpha$},
29 xmajorgrids,
30 ymin=0,
31 ymax=700,
32 ylabel={GFlops},
33 ymajorgrids,
34 legend style={at={(0.03,0.97)},anchor=north west,draw=black,fill=white,legend cell align=left}
35 ]
36 \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=-0.0666666666666667\figurewidth,fill=black,draw=black] plot coordinates{(1,25.7269262023185)
37 (2,34.5244303964177)
38 (3,38.9976495252132)
39 (4,42.0688704662039)};
40
41 \addlegendentry{\tiny{1 GPU}};
42
43 \addplot [
44 color=black,
45 solid,
46 line width=1.0pt,
47 forget plot
48 ]
49 table[row sep=crcr]{
50 0 0\\
51 5 0\\
52 };
53 \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=-0.04\figurewidth,fill=mycolor1,draw=black] plot coordinates{(1,45.7660023184681)
54 (2,61.0707130321338)
55 (3,71.6147118282191)
56 (4,76.4971402283698)};
57
58 \addlegendentry{\tiny{2 GPUs}};
59
60 \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=-0.0133333333333333\figurewidth,fill=mycolor2,draw=black] plot coordinates{(1,81.6048014543824)
61 (2,110.999576570219)
62 (3,129.333950678194)
63 (4,141.772486940809)};
64
65 \addlegendentry{\tiny{4 GPUs}};
66
67 \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=0.0133333333333333\figurewidth,fill=mycolor3,draw=black] plot coordinates{(1,133.626947231058)
68 (2,183.23775202709)
69 (3,216.230044922718)
70 (4,243.078097897826)};
71
72 \addlegendentry{\tiny{8 GPUs}};
73
74 \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=0.04\figurewidth,fill=mycolor4,draw=black] plot coordinates{(1,214.808744960503)
75 (2,305.941179521759)
76 (3,374.17892748913)
77 (4,412.649357383607)};
78
79 \addlegendentry{\tiny{16 GPUs}};
80
81 \addplot[ybar,bar width=0.0213333333333333\figurewidth,bar shift=0.0666666666666667\figurewidth,fill=white,draw=black] plot coordinates{(1,320.65759859086)
82 (2,484.833340183305)
83 (3,603.099139914345)
84 (4,649.931163224828)};
85
86 \addlegendentry{\tiny{32 GPUs}};
87
88 \end{axis}
89 \end{tikzpicture}%