This is a summary of the OpenMP*
pragmassupported in the Intel®
C++Compiler. For detailed information about the OpenMP* API, see the
OpenMP Application Program InterfaceVersion TR4: Version 5.0 specification, which is available from the OpenMP* web site.
pragmato form a team of threads and execute those threads in parallel.
Specifies that a structured block should be run in parallel by a team of threads.
pragmafor deferring execution.
Specifies the beginning of a code block whose execution may be deferred.
Specifies that the iterations of one or more associated
forloops 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.
pragmasto share work among a team of threads.
Specifies a parallel loop. Each iteration of the loop is executed by one of the threads in the team.
Defines a region of structured blocks that will be distributed among the threads in a team.
Specifies that a block of code is to be executed by only one thread in the team at a time.
pragmasto synchronize between threads.
Specifies a computation that must be executed atomically.
Specifies a point in the code where each thread must wait until all threads in the team arrive.
Specifies a code block that is restricted to access by only one thread at a time.
Identifies a point at which the view of the memory by the thread becomes consistent with the memory.
Specifies the beginning of a code block that must be executed only once by the master thread of the team.
Specifies a block of code that the threads in a team must execute in the natural order of the loop iterations.
Causes the program to wait until the completion of all enclosed and descendant tasks.
Specifies a wait on the completion of child tasks generated since the beginning of the current task.
Specifies that the current task can be suspended at this point in favor of execution of a different task.
pragmato give threads global private data.
Specifies a list of globally-visible variables that will be allocated private to each thread.
Offload Target Control
pragmasto control execution on one or more offload targets. Offload is not supported on Windows* systems.
Specifies that the iterations of one or more loops should be distributed among the master threads of all thread teams in a league.
omp target enter data
Specifies that variables are mapped to a device data environment.