HOME
| OPENMP API Specification: Version 5.1 November 2020

2.1.3  Stand-Alone Directives

Summary Stand-alone directives are executable directives that have no associated user code.

Description Stand-alone directives do not have any associated executable user code. Instead, they represent executable statements that typically do not have succinct equivalent statements in the base language. Some restrictions limit the placement of a stand-alone directive within a program. A stand-alone directive may be placed only at a point where a base language executable statement is allowed.

SVG-Viewer needed.

Restrictions Restrictions to stand-alone directives are as follows:

SVG-Viewer needed.

  • A stand-alone directive may not be used in place of a substatement in a selection statement, in place of the loop body in an iteration statement, or in place of the statement that follows a label.

SVG-Viewer needed.

SVG-Viewer needed.

  • A stand-alone directive may not be used in place of a substatement in a selection statement or iteration statement, or in place of the statement that follows a label.

SVG-Viewer needed.