9.3. Classification of OpenMP directives

The IBM C and C++ compiler products for AIX support OpenMP pragma directives that exploit shared memory parallelism.[2] Directives are based on the #pragma directive defined in the C and C++ standards. Compilers that support the OpenMP C and C++ API will include a command line option that activates and allows interpretation of all OpenMP compiler directives.

[2] VisualAge C++ for AIX supports OpenMP since Version 6, while C for AIX has been supporting it since Version 5.

We categorized OpenMP pragmas into the four categories shown in Table 9-2.

Table 9-2. OpenMP directive categories
CategoryBrief explanation and related sections
Parallel constructsThese pragmas enable the programmer to define the parallel ...

Get Developing and Porting C and C++ Applications on AIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.