Improved benchmark suite
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
set logscale x
|
||||
|
||||
set terminal pdf
|
||||
set output 'saxpy.pdf'
|
||||
plot "out.dat" i 0 using 1:2 with lines title 'Naive', \
|
||||
"out.dat" i 0 using 1:3 with lines title 'Model', \
|
||||
"out.dat" i 0 using 1:4 with lines title 'Optimal'
|
||||
set output 'bench.pdf'
|
||||
|
||||
set xlabel 'N'
|
||||
set ylabel 'Bandwidth (GB/s)'
|
||||
set key top left
|
||||
stats "out.dat" nooutput
|
||||
|
||||
set logscale x
|
||||
do for [i=1:STATS_blocks]{
|
||||
plot "out.dat" index (i-1) using 1:2 with lines title 'Naive', \
|
||||
"out.dat" index (i-1) using 1:3 with lines title 'Model', \
|
||||
"out.dat" index (i-1) using 1:4 with lines title 'Optimal'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user