#pragma omp parallel sections

Purpose

The omp parallel sections directive effectively combines the omp parallel and omp sections directives. This directive lets you define a parallel region containing a single sections directive in one step.

Syntax

Read syntax diagramSkip visual syntax diagram
                                     .-+---+------.   
                                     | '-,-'      |   
                                     V            |   
>>-#--pragma--omp parallel sections----+--------+-+------------><
                                       '-clause-'     

Usage

All clauses and restrictions described in the omp parallel and omp sections directives apply to the omp parallel sections directive.



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