next up previous
Next: Prototype Implementation Up: OpenMP Performance Tool Previous: Context Descriptors

C/C++ OpenMP Pragma Instrumentation

The transformations for Fortran OpenMP directives described in Tables 1 and 2 equally apply 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).



Sameer Suresh Shende
Thu Aug 23 11:19:57 PDT 2001