Automatic Shared Memory Management Multi-core Programming API Standards: This document specifies a collection of
compiler directives,
library routines, and
environment variables that can be used to specify
shared-memory parallelism in C,
C++ and
Fortran programs. This functionality collectively defines the specification of the
OpenMP Application Program Interface (
OpenMP API).
Introduction
This document specifies a collection of compiler directives, library routines, and environment variables that can be used to specify shared-memory parallelism in C, C++ and Fortran programs. This functionality collectively defines the specification of the OpenMP Application Program Interface (OpenMP API). This specification provides a model for parallel programming that is portable across shared memory architectures from different vendors. Compilers from numerous vendors support the OpenMP API.
The directives, library routines, and environment variables defined in this document allow users to create and manage parallel programs while permitting portability. The directives extend the C, C++ and Fortran base languages with single program multiple data (SPMD) constructs, work-sharing constructs, and synchronization constructs, and they provide support for the sharing and privatization of data. The functionality to control the runtime environment is provided by library routines and environment variables. Compilers that support the OpenMP API often include a command line option to the compiler that activates and allows interpretation of all OpenMP directives.
Get Tutorial here.