From the course: Parallel and Concurrent Programming with C++ Part 2

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Mapping

Mapping - C++ Tutorial

From the course: Parallel and Concurrent Programming with C++ Part 2

Start my 1-month free trial

Mapping

- The fourth and final stage of our parallel design process is mapping, and this is where we specify where each of the tasks we established we'll actually execute. Now, this mapping stage does not apply if you're only using a single processor system, because there's only one place to execute the program. or if you're using a system with automated task scheduling. So if I'm just writing programs to run on a desktop computer, like the examples we've shown you throughout this course, mapping isn't even a consideration. The operating system handles scheduling threads to execute on specific processor cores, so that's out of our hands. Mapping really becomes a factor if you're using a distributed system or specialized hardware with lots of parallel processors for large-scale problems, like in scientific computing applications. The usual goal of a mapping algorithm is to minimize the total execution time of the program, and…

Contents