CSCI 3366 (Parallel and Distributed Processing), Fall 2017:
Homework 4 Solution (Programming Problems)

Code

For this assignment I first wrote a parallel program using a simple approach to parallelization based on our Divide and Conquer pattern. But knowing that for this problem that might not give good load balance, I also wrote another program employing a different approach (first setting up a pool of threads and then, on every split, creating tasks for one or both subproblems, depending on whether their size exceeds some threshold, and turning them over to the thread pool for execution). This is more complicated than the approach I intended you to do, but I was curious about how much it would improve performance.

Results (data and plots)

(There are a lot of files here, so rather than make individual links I've made links to directories.)



Berna Massingill
2017-12-11