#pragma ibm sequential_loop

Purpose

The sequential_loop pragma explicitly instructs the compiler to execute the chosen loop sequentially.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-#--pragma--ibm sequential_loop------------------------------><

Usage

Pragma must appear immediately before the loop or loop block directive to be affected.

This pragma disables automatic parallelization of the chosen loop, and is always respected by the compiler.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us