#pragma ibm iterations Preprocessor Directive (C Only)

The iterations pragma specifies the approximate number of loop iterations for the chosen loop.

Syntax

#pragma ibm iterations (iteration-count)
<countable for/while/do loop>

where iteration-count represents a positive integral constant expression.

Notes
The compiler uses the information in the iteration-count variable to determine if it is efficient to parallelize the loop.



Program Parallelization
Shared and Private Variables in a Parallel Environment
Countable Loops


Control Parallel Processing with Pragmas


#pragma Preprocessor Directives for Parallel Processing