Parallel DO - Assignment

This exercise presents a simple program to demonstrate the use of Parallel DO worksharing construct. The program multiples a matrix A by a matrix B and stores the result in a matrix C.

  • Choose either one of the following Fortran or C example
  • Compile and run the code
  • Insert Parallel DO OpenMP directive for the first triple do loop of the matrix multiplication
  • Compile and run your new OpenMP code
  • Run for different number of threads. Do you get any speed up?