Question: What opportunities for parallelism do you see? What problems or challenges do you see limiting performance? How could the problems be overcome? Measure the time
What opportunities for parallelism do you see? What problems or challenges do you see limiting performance? How could the problems be overcome? Measure the time it takes to execute different parts of the serial program. If a part of a program has a very short execution time, how can you still measure the time relatively accurately?
The Code:

#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
