WEDNESDAY, OCTOBER 14, 2026
openmp/fortran
OpenMP/Fortran: Support 'cgroup' modifier to dyn_groupprivate clause
Adds parsing support for the 'cgroup' modifier in OpenMP's dyn_groupprivate clause for Fortran.
This commit enhances the Fortran OpenMP compiler to support the ‘cgroup’ modifier within the dyn_groupprivate clause. Previously, only the groupprivate clause parsing was added, and this change ensures the ‘cgroup’ modifier, which is also the default, is correctly parsed. New test cases are included to verify this functionality.
In Details
Extends the Fortran front-end's OpenMP clause parsing to include the 'cgroup' access-group modifier for dyn_groupprivate. This aligns the parser with the OpenMP specification's support for this modifier.
For Context
- OpenMP
- A standardized API for shared-memory parallel programming that supports C, C++, and Fortran.
- dyn_groupprivate
- An OpenMP clause that specifies data-private to a group of threads, where the group can dynamically change.
- cgroup
- A modifier for OpenMP clauses that specifies the scope of data sharing or privacy, particularly related to dynamic thread groups.
- Fortran
- A high-level programming language commonly used in scientific and numerical computing.