Skip to content

Optimization_4x4_3

Jianyu Huang edited this page Aug 11, 2016 · 5 revisions

Copy the contents of file MMult2.c into a file named MMult_4x4_3.c and change the contents:

  • Change the first lines in the makefile to
OLD  := MMult2
NEW  := MMult_4x4_3       # Notice the two underscores!!
  • make run
octave:3> PlotAll        % this will create the plot

This time the performance graph will look something like

No performance benefit, yet.

Clone this wiki locally