From the course: Complete Guide to Parallel and Concurrent Programming with C++
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Partitioning - C++ Tutorial
From the course: Complete Guide to Parallel and Concurrent Programming with C++
Partitioning
- We've looked at a lot of mechanisms for implementing concurrent and parallel programs and considered the concepts and challenges associated with them. Now it's time for the big question. How do you actually design a parallel program? Over the next few videos, we'll look at a common four step methodology for taking a problem and developing a parallel solution for it. This methodology can be used to design complex programs that run on large scale parallel systems. And not all parts of it are applicable to writing simple desktop applications, like we've done in this course, but the concepts are still good to understand. The four stages can be summarized as partitioning, communication, agglomeration, and mapping. That first stage partitioning, is about breaking down the problem into discreet chunks of work that can be distributed to multiple tasks. At this beginning stage, we're not concerned with practical issues like the number of processors in our computer. We'll consider that later.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.