figures
This commit is contained in:
Binary file not shown.
BIN
figures/cpu_matvec.png
Normal file
BIN
figures/cpu_matvec.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 122 KiB |
Binary file not shown.
BIN
figures/kernels.png
Normal file
BIN
figures/kernels.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 154 KiB |
Binary file not shown.
BIN
figures/mlfmm_bw.png
Normal file
BIN
figures/mlfmm_bw.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 122 KiB |
Binary file not shown.
BIN
figures/mlfmm_minsky.png
Normal file
BIN
figures/mlfmm_minsky.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 KiB |
@@ -4,6 +4,9 @@ import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
plt.rcdefaults()
|
||||
|
||||
DPI=600
|
||||
|
||||
path = 'figures/cpu_matvec'
|
||||
fig, ax = plt.subplots()
|
||||
systems = ('BW (32T)', "Minsky (160T)")
|
||||
mlfmm = (8.65e4, 4.71e4)
|
||||
@@ -15,9 +18,12 @@ ax.set_xticks(x_pos)
|
||||
ax.set_xticklabels(systems)
|
||||
ax.set_ylabel("Execution Time (ms)")
|
||||
# ax.set_title('How fast do you want to go today?')
|
||||
plt.savefig('figures/cpu_matvec.pdf')
|
||||
print 'figures/cpu_matvec.pdf'
|
||||
plt.savefig(path+'.pdf')
|
||||
plt.savefig(path+'.png', dpi=DPI)
|
||||
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)
|
||||
@@ -29,9 +35,11 @@ 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('figures/mlfmm_bw.pdf')
|
||||
print 'figures/mlfmm_bw.pdf'
|
||||
plt.savefig(path+'.pdf')
|
||||
plt.savefig(path+'.png', dpi=DPI)
|
||||
print path
|
||||
|
||||
path="figures/mlfmm_minsky"
|
||||
fig, ax = plt.subplots()
|
||||
systems = ('1T', "160T", "1 GPU" ,"4 GPU")
|
||||
mlfmm = (1.25e6, 4.71e4, 5.22e3, 1.29e3)
|
||||
@@ -43,8 +51,9 @@ 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('figures/mlfmm_minsky.pdf')
|
||||
print 'figures/mlfmm_minsky.pdf'
|
||||
plt.savefig(path+'.pdf')
|
||||
plt.savefig(path+'.png', dpi=DPI)
|
||||
print path
|
||||
|
||||
fig, ax = plt.subplots()
|
||||
systems = ['BW 32T', "Minsky 160T", "BW 4 GPU" ,"Minsky 4 GPU"]
|
||||
@@ -62,6 +71,7 @@ l2l_ratio = [i/j for i,j in zip(l2l, total)]
|
||||
l2p_ratio = [i/j for i,j in zip(l2p, total)]
|
||||
p2p_ratio = [i/j for i,j in zip(p2p, total)]
|
||||
|
||||
path = 'figures/kernels'
|
||||
x_pos = np.arange(len(systems))
|
||||
ax.bar(x_pos, p2p_ratio, color='0', label='p2p')
|
||||
ax.bar(x_pos, l2p_ratio, color='0.15', label='l2p', bottom=p2p_ratio)
|
||||
@@ -76,5 +86,6 @@ handles, labels = ax.get_legend_handles_labels()
|
||||
ax.legend(handles, labels)
|
||||
# plt.ylim([1, 1e4])
|
||||
# ax.set_title('How fast do you want to go today?')
|
||||
plt.savefig('figures/kernels.pdf')
|
||||
print 'figures/kernels.pdf'
|
||||
plt.savefig(path+'.pdf')
|
||||
plt.savefig(path+'.png', dpi=DPI)
|
||||
print path
|
Reference in New Issue
Block a user