7 OpenMP that performs

This chapter covers

  • Planning and designing a correct and performant OpenMP program
  • Writing loop-level OpenMP for modest parallelism
  • Detecting correctness problems and improving robustness
  • Fixing performance issues with OpenMP
  • Writing scalable OpenMP for high performance

As many-core architectures grow in size and popularity, the details of thread-level parallelism become a critical factor in software performance. In this chapter, we first introduce the basics of Open Multi-Processing (OpenMP), a shared memory programming standard, and why it’s important to have a fundamental understanding of how OpenMP functions. We will look at sample problems ranging in difficulty from a simple common “Hello World” example to a complex ...

Get Parallel and High Performance Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.