next up previous
Next: Implementation Issues Up: Proposed OpenMP Performance Previous: Conditional / Selective

C/C++ OpenMP Pragma Instrumentation

The transformations for Fortran OpenMP directives described in Tables 1 and 2 apply equally to C/C++ OpenMP pragmas. The main difference is that the extent of C/C++ OpenMP pragmas is determined by the structured block following it, and not by an explicit END pragma as in Fortran. This has the following consequences for pragma instrumentation:

All other changes are simple differences in language (e.g., no call keyword and using #pragma omp instead of !$OMP). The new monitoring control and user code instrumentation would appear as:



Sameer Suresh Shende
Thu Aug 23 11:13:47 PDT 2001