Question: Objective: Compare timing performance of matrix - matrix multiplication using floating point versus integer arithmetic. Task 1 . Write c code to multiply two square
Objective:
Compare timing performance of matrixmatrix multiplication using floating point versus integer
arithmetic.
Task Write c code to multiply two square matrixes of size NxN on LINUX platform. or MAC
in terminal window, use CLANG compiler using gcc For most inner loop that computes dot
product of row and column, create a function DProwcolumn and place it in separate file. You
have to compile and link two files main.c and dpc and demonstrate that the new executable
runs.
For both integer and Floatingpoint arithmetic:
Taks Measure execution time of matrix matrix multiplication for different values of at
least using timing function from chrono library, as it was explained in class and reference was
posted on slack.
Task Create compiler generated assembly code for DP and compile DP in assembly, and link
with main to create executable. Run it and measure time as in Task
Task Optimize compiler generated assembly code minimize the number of instructions, by
removing redundant instructions Perform timing measurements in Taks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
