Combined constructs

Combined constructs are shortcuts for specifying one construct immediately nested inside another construct. Specifying a combined construct is semantically identical to specifying the first construct that encloses an instance of the second construct and no other statements.

If you specify a clause that is permitted on both of the individual constructs, the clause applies to one or both constructs.

You can use the following combined constructs:
  • omp parallel for 1
  • omp parallel sections
  • omp parallel workshare
  • omp target parallel
  • omp target parallel for
  • omp target teams
  • omp target teams distribute
  • omp target teams distribute parallel for
  • omp teams distribute
  • omp teams distribute parallel for
Note:
  1. The nowait clause is not supported.


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