O'Reilly logo

Patterns for Parallel Programming by Berna L. Massingill, Beverly A. Sanders, Timothy G. Mattson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix AA Brief Introduction to OpenMP

A.1 CORE CONCEPTS

A.2 STRUCTURED BLOCKS AND DIRECTIVE FORMATS

A.3 WORKSHARING

A.4 DATA ENVIRONMENT CLAUSES

A.5 THE OpenMP RUNTIME LIBRARY

A.6 SYNCHRONIZATION

A.7 THE SCHEDULE CLAUSE

A.8 THE REST OF THE LANGUAGE

OpenMP [OMP] is a collection of compiler directives and library functions that are used to create parallel programs for shared-memory computers. OpenMP is combined with C, C++, or Fortran to create a multithreading programming language; that is, the language model is based on the assumption that the UEs are threads that share an address space.

The formal definition of OpenMP is contained in a pair of specifications, one for Fortran and the other for C and C++. They differ in some minor details, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required