-
Notifications
You must be signed in to change notification settings - Fork 354
Optimization1
Jianyu Huang edited this page Aug 2, 2016
·
7 revisions
Copy the contents of file MMult0.c
into a file named MMult1.c
and change the contents:
|| from || to ||
||<^> -Include(HowToOptimizeGemm/Details/MMult0)- ||<^> -Include(HowToOptimizeGemm/Details/MMult1)- ||
Change the first lines in the makefile
to
OLD := MMult0
NEW := MMult1
make run
octave:3> PlotAll % this will create the plot
This time the performance graph will look something like
We see no performance benefit. What we are doing is slowly changing the code into one where there will be a performance benefit.