diff --git a/figures/cpu_matvec.pdf b/figures/cpu_matvec.pdf index 412f7f3..15033d1 100644 Binary files a/figures/cpu_matvec.pdf and b/figures/cpu_matvec.pdf differ diff --git a/figures/cpu_matvec.png b/figures/cpu_matvec.png index c9ef611..ff4d215 100644 Binary files a/figures/cpu_matvec.png and b/figures/cpu_matvec.png differ diff --git a/figures/kernels.pdf b/figures/kernels.pdf index 9c03328..d41b663 100644 Binary files a/figures/kernels.pdf and b/figures/kernels.pdf differ diff --git a/figures/mlfmm_bw.pdf b/figures/mlfmm_bw.pdf index e51482c..f23cd58 100644 Binary files a/figures/mlfmm_bw.pdf and b/figures/mlfmm_bw.pdf differ diff --git a/figures/mlfmm_bw.png b/figures/mlfmm_bw.png index c14eaef..e1b81ca 100644 Binary files a/figures/mlfmm_bw.png and b/figures/mlfmm_bw.png differ diff --git a/figures/mlfmm_minsky.pdf b/figures/mlfmm_minsky.pdf index a1ecb2e..77f336c 100644 Binary files a/figures/mlfmm_minsky.pdf and b/figures/mlfmm_minsky.pdf differ diff --git a/figures/mlfmm_minsky.png b/figures/mlfmm_minsky.png index 1d3c2fe..9fe34ae 100644 Binary files a/figures/mlfmm_minsky.png and b/figures/mlfmm_minsky.png differ diff --git a/figures/plots.py b/figures/plots.py index 940f8a0..bf70f41 100644 --- a/figures/plots.py +++ b/figures/plots.py @@ -11,8 +11,8 @@ DPI=600 path = 'figures/cpu_matvec' fig, ax = plt.subplots() systems = ('BW (32T)', "Minsky (160T)") -mlfmm = (8.65e4, 4.71e4) -total = (1.2e5, 5.6e4) +mlfmm = (8.65e4, 4.84e4) +total = (1.2e5, 5.77e4) x_pos = np.arange(len(systems)) ax.bar(x_pos, mlfmm, color='gray') ax.bar(x_pos, [i-j for i,j in zip(total, mlfmm)], color='lightgray', bottom=mlfmm ) @@ -26,34 +26,19 @@ print path path='figures/mlfmm_bw' -# fig, ax = plt.subplots() -# systems = ('1T', "32T", "1 GPU" ,"4 GPU", "16 GPU") -# mlfmm = (1.50e6, 8.64e4, 2.78e4, 7.01e3, 1.89e3) -# num = (45,45,45,45,47) -# x_pos = np.arange(len(systems)) -# ax.bar(x_pos, [i/j for i,j in zip(mlfmm,num)], color='gray', log=True) -# ax.set_xticks(x_pos) -# ax.set_xticklabels(systems) -# ax.set_ylabel("Per-MLFMM Execution Time (ms)") -# plt.ylim([1, 1e5]) -# # ax.set_title('How fast do you want to go today?') -# plt.savefig(path+'.pdf') -# plt.savefig(path+'.png', dpi=DPI) -# print path width=0.25 fig, ax = plt.subplots() systems = ('1T', "32T", "1 GPU" ,"4 GPU", "16 GPU") mlfmm = (1.50e6, 8.64e4, 2.78e4, 7.01e3, 1.89e3) num = (45,45,45,45,47) x_pos = np.arange(len(systems)) -ax.bar([p-width/2 for p in x_pos], [i/j for i,j in zip(mlfmm,num)], color='lightgray', log=True, width=0.25) +ax.bar([p-width/2 for p in x_pos], [i/j for i,j in zip(mlfmm,num)], color='darkgray', log=True, width=0.25) ax2=ax.twinx() -ax2.bar([p+width/2 for p in x_pos], [mlfmm[0] / i for i in mlfmm], color='darkgray', log=True, width=0.25) +ax2.bar([p+width/2 for p in x_pos], [mlfmm[0] / i for i in mlfmm], color='lightgray', log=True, width=0.25) ax.set_xticks(x_pos) ax.set_xticklabels(systems) ax.set_ylabel("Per-MLFMM Execution Time (ms)") ax2.set_ylabel("Speedup over 1T") -# ax.set_title('How fast do you want to go today?') plt.savefig(path+'.pdf') plt.savefig(path+'.png', dpi=DPI) print path @@ -88,7 +73,7 @@ path="figures/mlfmm_minsky" width = 10 fig, ax = plt.subplots() systems = ('1T', "160T", "1 GPU" ,"4 GPU") -mlfmm = [1.25e6, 4.71e4, 5.22e3, 1.29e3] +mlfmm = [1.25e6, 4.84e4, 5.22e3, 1.29e3] num = (44,44,44,44) x_pos = [0,1,2,3] sns.barplot(x_pos,