The independent_loop pragma asserts that iterations of the chosen loop are independent, and that the loop can be parallelized.
Syntax
#pragma ibm independent_loop [if (exp)] <countable for/while/do loop>
where exp represents a scalar expression. When the if argument is specified, loop iterations are considered independent only as long as exp evaluates to TRUE at run-time.
Notes
This pragma can be combined with the schedule pragma to select a specific
parallel process scheduling algorithm. For more information, see the description for the schedule pragma.
Program Parallelization
Shared and Private Variables in a Parallel Environment
Countable Loops