JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.3: OpenMP API User's Guide     Oracle Solaris Studio 12.3 Information Library
search filter icon
search icon

Document Information

Preface

1.  Introducing the OpenMP API

2.  Compiling and Running OpenMP Programs

3.  Implementation-Defined Behaviors

4.  Nested Parallelism

5.  Tasking

6.  Automatic Scoping of Variables

7.  Scope Checking

8.  Performance Considerations

A.  Placement of Clauses on Directives

Index

Appendix A

Placement of Clauses on Directives

Table A-1 Pragmas Where Clauses Can Appear

Clause/Pragma
parallel
do/for
sections
single
parallel do/for
parallel sections
parallel workshare
task
if
   +
   +
   +
   +
   +
private
   +
   +
   +
   +
   +
   +
   +
   +
shared
   +
   +
   +
   +
   +
firstprivate
   +
   +
   +
   +
   +
   +
   +
   +
lastprivate
   +
   +
   +
   +
default
   +
   +
   +
   +
   +
reduction
   +
   +
   +
   +
   +
   +
copyin
   +
   +
   +
   +
copyprivate
   + (1)
ordered
   +
   +
schedule
   +
   +
nowait
   + (2)
   + (2)
   + (2)
num_threads
   +
   +
   +
   +
untied
   +
final
   +
mergeable
   +
__auto
   +
   +
   +
   +
   +
  1. Fortran only: COPYPRIVATE can appear on the END SINGLE directive.

  2. For Fortran, a NOWAIT modifier can only appear on the END DO, END SECTIONS, END SINGLE, or END WORKSHARE directives.

  3. Only Fortran supports WORKSHARE and PARALLEL WORKSHARE.