Question: We have discussed the blocking technique to improve the performance of dense matrix multiplication in the class. In this assignment, you are asked to implement

We have discussed the blocking technique to improve the performance of dense matrix
multiplication in the class. In this assignment, you are asked to implement the original and
blocking codes of dense matrix multiplication, run the following experiments on your
computer, report the results, and compare the performance. Assume the array size is NxN.
Implement the original code of matrix multiplication and set the value of N to 2048.
Compile the code using the optimization options "-00"(no compiler optimization)
and "-03"(standard compiler optimization) with gcc, respectively. What is the
speedup using "-03" compared with using "-00"? If you are using a compiler other
than gcc, use two different optimization options supported by the compiler to run
the experiments, one without any compiler optimization and another with standard
compiler optimization.
 We have discussed the blocking technique to improve the performance of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!