Developer Guide and Reference

Contents

OpenMP*
Pragmas
Summary

This is a summary of the OpenMP*
pragmas
supported in the Intel®
C++
Compiler. For detailed information about the OpenMP* API, see the
OpenMP Application Program Interface
Version TR4: Version 5.0 specification, which is available from the OpenMP* web site.

PARALLEL
Pragma

Use this
pragma
to form a team of threads and execute those threads in parallel.
Pragma
Description
omp parallel
Specifies that a structured block should be run in parallel by a team of threads.

TASKING
Pragma

Use this
pragma
for deferring execution.
Pragma
Description
omp task
Specifies the beginning of a code block whose execution may be deferred.
omp taskloop
Specifies that the iterations of one or more associated
for
loops should be executed in parallel using OpenMP* tasks. The iterations are distributed across tasks that are created by the construct and scheduled to be executed.