From: Kahina Date: Wed, 28 Oct 2015 08:47:33 +0000 (+0100) Subject: Ajout d'une figure sur OpenMP vs GPU X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/kahina_paper1.git/commitdiff_plain/d2eaa5b6b9f4ba47dbfa2aeaae51427945accf72?hp=f3cbb035ec5c163d367699cff06a3c8ee10ea89d Ajout d'une figure sur OpenMP vs GPU --- diff --git a/figures/openMP-GPU.pdf b/figures/openMP-GPU.pdf new file mode 100644 index 0000000..111e529 Binary files /dev/null and b/figures/openMP-GPU.pdf differ diff --git a/figures/openMP-GPU.plot b/figures/openMP-GPU.plot new file mode 100644 index 0000000..2612163 --- /dev/null +++ b/figures/openMP-GPU.plot @@ -0,0 +1,19 @@ +# Analysis description +set encoding iso_8859_1 +set terminal x11 +set size 1,0.5 +set term postscript enhanced portrait "Helvetica" 12 + +set ylabel "execution times (in s)" +set xlabel "Sparse polynomial's degrees" +#set logscale x +#set logscale y + +#set key on outside left bmargin +set style line 1 lc rgb '#0060ad' lt 1 lw 2 pt 1 ps 1.5 # --- blue +set style line 2 lc rgb '#dd181f' lt 1 lw 2 pt 5 ps 1.5 # --- red +set style line 3 lc rgb '#dd181f' lt 1 lw 2 pt 6 ps 1.5 # --- red + +plot'openMP-GPU.txt' index 0 using 1:5 t "OpenPM 1 core" with linespoints ls 2,\ + 'openMP-GPU.txt' using 1:2 t "OpenPM 4 cores" with linespoints ls 1,\ +'openMP-GPU.txt' index 1 using 1:2 t "GPU" with linespoints ls 3 \ No newline at end of file diff --git a/figures/openMP-GPU.txt b/figures/openMP-GPU.txt new file mode 100644 index 0000000..26e0696 --- /dev/null +++ b/figures/openMP-GPU.txt @@ -0,0 +1,31 @@ +# Polynome with 256 threads per block en GPU +# First data block (index 0) +#Polynomial's degrees (4cores) nb iter Speed up time_OpenMP(1core) Nb_ietr +100000 621.59 11 49.20 2360.15 11 +150000 1405.87 11 49.03 5805.67 12 +250000 5671.29 16 60.48 21550.902 16 +300000 5635 11 40.55 21413 11 +350000 8366.34 12 52.40 31792.092 12 +400000 15458.3 16 59.91 58741.54 16 + + +# Second index block (index 1) +#Polynomial's degrees times_CPU nb iter times_GPU nb iter +100000 12.45 16 +150000 28.67 17 +250000 93.76 20 +300000 138.94 21 +350000 159.654 18 +400000 258.94 22 +450000 339.47 23 +500000 419.78 23 +550000 415.94 19 +600000 549.70 21 +650000 612.122 20 +700000 864.21 24 +750000 940.87 23 +800000 1247.16 26 +850000 1706.12 32 +900000 1803.17 30 +950000 2280.07 34 +1000000 2209.51 30 diff --git a/paper.tex b/paper.tex index 9532afc..04e1316 100644 --- a/paper.tex +++ b/paper.tex @@ -717,9 +717,20 @@ This figure show the execution time of the both algorithm EA and DK with sparse \label{fig:01} \end{figure} -\bibliography{mybibfile} +\subsubsection{The execution time of Ehrlich-Aberth algorithm on OpenMP(1 core, 4 cores) vs. on a Tesla GPU} + +\begin{figure}[H] +\centering + \includegraphics[width=0.8\textwidth]{figures/openMP-GPU} +\caption{The execution time of Ehrlich-Aberth algorithm on OpenMP(1core, 4cores) and GPU(Tesla k40)} +\label{fig:01} +\end{figure} + + \section{Conclusion and perspective} +\bibliography{mybibfile} + \end{document}