summaryrefslogtreecommitdiff
path: root/report/figures/f2_compilers_scaling.tex
diff options
context:
space:
mode:
authorlvanveen <lennaert.vanveen@ontariotechu.ca>2026-02-11 15:36:12 -0500
committerlvanveen <lennaert.vanveen@ontariotechu.ca>2026-02-11 15:36:12 -0500
commit7001c889be0b8be7733af31d48caad6c63be4266 (patch)
tree70485df1d640279711acb95abc865e5c84d92ffb /report/figures/f2_compilers_scaling.tex
parent4d2e223aa2eda4dc991702d12b145f4dc5bce708 (diff)
parent014262c99b83799f3e8b73e48d5f1d98cfa697e0 (diff)
Merge branch 'master' of https://git.hhmoore.ca/mcsc-6030g/p1-matrix-product
Diffstat (limited to 'report/figures/f2_compilers_scaling.tex')
-rw-r--r--report/figures/f2_compilers_scaling.tex124
1 files changed, 124 insertions, 0 deletions
diff --git a/report/figures/f2_compilers_scaling.tex b/report/figures/f2_compilers_scaling.tex
new file mode 100644
index 0000000..7fa4589
--- /dev/null
+++ b/report/figures/f2_compilers_scaling.tex
@@ -0,0 +1,124 @@
+% GNUPLOT: LaTeX picture with Postscript
+\begingroup
+ \makeatletter
+ \providecommand\color[2][]{%
+ \GenericError{(gnuplot) \space\space\space\@spaces}{%
+ Package color not loaded in conjunction with
+ terminal option `colourtext'%
+ }{See the gnuplot documentation for explanation.%
+ }{Either use 'blacktext' in gnuplot or load the package
+ color.sty in LaTeX.}%
+ \renewcommand\color[2][]{}%
+ }%
+ \providecommand\includegraphics[2][]{%
+ \GenericError{(gnuplot) \space\space\space\@spaces}{%
+ Package graphicx or graphics not loaded%
+ }{See the gnuplot documentation for explanation.%
+ }{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
+ \renewcommand\includegraphics[2][]{}%
+ }%
+ \providecommand\rotatebox[2]{#2}%
+ \@ifundefined{ifGPcolor}{%
+ \newif\ifGPcolor
+ \GPcolortrue
+ }{}%
+ \@ifundefined{ifGPblacktext}{%
+ \newif\ifGPblacktext
+ \GPblacktexttrue
+ }{}%
+ % define a \g@addto@macro without @ in the name:
+ \let\gplgaddtomacro\g@addto@macro
+ % define empty templates for all commands taking text:
+ \gdef\gplbacktext{}%
+ \gdef\gplfronttext{}%
+ \makeatother
+ \ifGPblacktext
+ % no textcolor at all
+ \def\colorrgb#1{}%
+ \def\colorgray#1{}%
+ \else
+ % gray or color?
+ \ifGPcolor
+ \def\colorrgb#1{\color[rgb]{#1}}%
+ \def\colorgray#1{\color[gray]{#1}}%
+ \expandafter\def\csname LTw\endcsname{\color{white}}%
+ \expandafter\def\csname LTb\endcsname{\color{black}}%
+ \expandafter\def\csname LTa\endcsname{\color{black}}%
+ \expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
+ \expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
+ \expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
+ \expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
+ \expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
+ \expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
+ \expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
+ \expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
+ \expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
+ \else
+ % gray
+ \def\colorrgb#1{\color{black}}%
+ \def\colorgray#1{\color[gray]{#1}}%
+ \expandafter\def\csname LTw\endcsname{\color{white}}%
+ \expandafter\def\csname LTb\endcsname{\color{black}}%
+ \expandafter\def\csname LTa\endcsname{\color{black}}%
+ \expandafter\def\csname LT0\endcsname{\color{black}}%
+ \expandafter\def\csname LT1\endcsname{\color{black}}%
+ \expandafter\def\csname LT2\endcsname{\color{black}}%
+ \expandafter\def\csname LT3\endcsname{\color{black}}%
+ \expandafter\def\csname LT4\endcsname{\color{black}}%
+ \expandafter\def\csname LT5\endcsname{\color{black}}%
+ \expandafter\def\csname LT6\endcsname{\color{black}}%
+ \expandafter\def\csname LT7\endcsname{\color{black}}%
+ \expandafter\def\csname LT8\endcsname{\color{black}}%
+ \fi
+ \fi
+ \setlength{\unitlength}{0.0500bp}%
+ \ifx\gptboxheight\undefined%
+ \newlength{\gptboxheight}%
+ \newlength{\gptboxwidth}%
+ \newsavebox{\gptboxtext}%
+ \fi%
+ \setlength{\fboxrule}{0.5pt}%
+ \setlength{\fboxsep}{1pt}%
+ \definecolor{tbcol}{rgb}{1,1,1}%
+\begin{picture}(7200.00,3600.00)%
+ \gplgaddtomacro\gplbacktext{%
+ \csname LTb\endcsname%%
+ \put(820,655){\makebox(0,0)[r]{\strut{}$10^{-8}$}}%
+ \csname LTb\endcsname%%
+ \put(820,1040){\makebox(0,0)[r]{\strut{}$10^{-6}$}}%
+ \csname LTb\endcsname%%
+ \put(820,1425){\makebox(0,0)[r]{\strut{}$10^{-4}$}}%
+ \csname LTb\endcsname%%
+ \put(820,1810){\makebox(0,0)[r]{\strut{}$10^{-2}$}}%
+ \csname LTb\endcsname%%
+ \put(820,2195){\makebox(0,0)[r]{\strut{}$10^{0}$}}%
+ \csname LTb\endcsname%%
+ \put(820,2580){\makebox(0,0)[r]{\strut{}$10^{2}$}}%
+ \csname LTb\endcsname%%
+ \put(820,2965){\makebox(0,0)[r]{\strut{}$10^{4}$}}%
+ \csname LTb\endcsname%%
+ \put(1913,450){\makebox(0,0){\strut{}$100$}}%
+ \csname LTb\endcsname%%
+ \put(4378,450){\makebox(0,0){\strut{}$1000$}}%
+ \csname LTb\endcsname%%
+ \put(6843,450){\makebox(0,0){\strut{}$10000$}}%
+ }%
+ \gplgaddtomacro\gplfronttext{%
+ \csname LTb\endcsname%%
+ \put(3134,3395){\makebox(0,0)[r]{\strut{}\texttt{gfortran}: Row-major}}%
+ \csname LTb\endcsname%%
+ \put(3134,3190){\makebox(0,0)[r]{\strut{}\texttt{gfortran}: Col.-major}}%
+ \csname LTb\endcsname%%
+ \put(6240,3395){\makebox(0,0)[r]{\strut{}\texttt{ifx}: Row-major}}%
+ \csname LTb\endcsname%%
+ \put(6240,3190){\makebox(0,0)[r]{\strut{}\texttt{ifx}: Col.-major}}%
+ \csname LTb\endcsname%%
+ \put(186,1810){\rotatebox{-270.00}{\makebox(0,0){\strut{}Wall Time [s]}}}%
+ \csname LTb\endcsname%%
+ \put(3888,143){\makebox(0,0){\strut{}Size [$N \times N$]}}%
+ }%
+ \gplbacktext
+ \put(0,0){\includegraphics[width={360.00bp},height={180.00bp}]{f2_compilers_scaling}}%
+ \gplfronttext
+ \end{picture}%
+\endgroup