Uploaded by jenkinsmdorian

Jenkins CSI4650 Assignment3

advertisement
Dorian Jenkins
CSI-4650
Apr 9 2023
Assignment 3
Exercise 1:
Exercise 2:
Exercise 3:
Exercise 4:
Doesn’t seem to be a significant difference in the times when one thread is used for the OpenMP
configured program and the C program without OpenMP directives is ran.
Exercise 5:
From the graph, I can tell that generally, increasing the number of threads will help to run the
program faster. However, there seems to be a sweet spot of effectiveness. I believe there is a
number of threads that might be optimal but above that number might hinder performance/give
less of an improvement. Increasing threads has decreasing returns in terms of time saving. Worth
noting that for lower array sizes, more threads sometimes made the program run slower, so this
may only be useful for larger problems that require more computing power.
Download