1997-98
CS 284aHomework Two: Multithreaded Matrix Multiplication
Handed out:
Wednesday, 22nd October 1997.Introduction
Starting with the program provided, use the
sthread_regular_for_loop() function to develop a correct and efficient multithreaded matrix multiplication function. The program consists of three files: matrix_multiply.h, matrix_multiply.c, and main.c. Write the multithreaded matrix multiplication function in matrix_multiply.c. Use the main program provided to test and time your multithreaded matrix multiplication function.What to hand in
Notes
Grading
Your homework will be graded out of 20 points as follows:
You must follow the style of maintaining equivalent pragma and Sthreads versions of multithreaded functions.
Double your best speedup for multiplying 600-by-600 element matrices.
Tables and graphs must be complete and well presented.
Your analysis must be accurate and insightful.