#pragma ibm iterations (C only)

Purpose

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

Syntax

Read syntax diagramSkip visual syntax diagram
>>-#--pragma--ibm iterations--(iteration-count)----------------><

where iteration-count represents a positive integral constant expression.

Usage

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