CSE 3100 Systems Programming Fall 2018Lab #8Welcome to Lab 8! This lab assignment is due by the end of day on Monday Nov. 12, 2018.Read the question carefully before beginning work. Start by executing git pull inside your Git repos-itory on the virtual machine. Remember to add, commit, and push when you complete your work. AddONLY *.c to the git repo. Do not add .o files or executables.Matrix addition (100 Points).An implementation of matrix ADT is given in matrix.c. The APIs are similar to what you had inthe matrix transpose assignment, with some functions removed and some added. One of the functions,addMatrix(), performs matrix addition. An implementation is provided in matrix.c.In this lab, you must implement addMatrix thread() in madd.c, which performs matrix addition withtwo threads. You can change all the lines in madd.c, but should modify this file only.test-madd.c is provided for you to test your implementation. The program takes the number of rowsand columns from the command line, fills two matrices with random numbers, and compares the result ofaddMatrix() and addMatrix thread(). If no argument is specified, the program works on matrices of size6 × 6.Here are some sample sessions running test-madd.$./test-maddUsage: ./test-madd nrows ncolsCurrently using the default values for the number of rows and columns.0 Good work!$./test-madd 1000 20000 Good
View Full Document