OpenMP
Abstract
This chapter proposes a complete overview of OpenMP, including the OpenMP4.0 extensions. The traditional programming model, well adapted to regular parallel patterns, as well as the task-based model deployed since the 3.0 release, adapted to irregular parallel contexts, are described in detail. Particular attention is given to the significant 4.0 extensions of the task API, as well as the pitfalls and best practices related to the task environment. All the other major 4.0 extensions are also reviewed, like the cancellation of parallel constructs, thread affinity, and directives for vectorization and code offloading to external accelerators.
Keywords
Parallel regions
Directives
Clauses
Tasks
Task synchronizations ...
Get Shared Memory Application Programming 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.