Differences between revisions 45 and 46
Revision 45 as of 2021-06-30 13:09:40
Size: 8242
Editor: TobiasBurnus
Comment: Update for GCC 12 / GCC 11 post release
Revision 46 as of 2021-07-30 09:33:08
Size: 7923
Editor: TobiasBurnus
Comment: Add TR10, https-ify links, remove some old forum links, fix example + forum link for 4.0
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:
 * [[http://www.openmp.org/mp-documents/spec25.pdf|OpenMP v2.5 specification]]
 * [[http://www.openmp.org/mp-documents/spec30.pdf|OpenMP v3.0 specification]]
 * [[http://www.openmp.org/mp-documents/omp3.1-2011.0203a.pdf|OpenMP v3.1 draft specification]] ([[http://openmp.org/forum/viewforum.php?f=9|forum for draft comments]])
 * [[http://www.openmp.org/mp-documents/OpenMP3.1.pdf|OpenMP v3.1 specification]] (July 2011) ([[http://openmp.org/forum/viewforum.php?f=10|OpenMP 3.1 API forum]])
 * [[http://www.openmp.org/mp-documents/OpenMP4.0.0.pdf|OpenMP v4.0 specification]] (July2013) (Official [[http://openmp.org/mp-documents/OpenMP4.0.0.Examples.pdf|OpenMP 4.0 Examples]], [[http://openmp.org/forum/viewforum.php?f=12|OpenMP 4.0 API forum]])
 * [[http://www.openmp.org/mp-documents/OpenMP4.0.0.pdf|OpenMP v4.0 specification]] (July2013) (Official [[http://openmp.org/mp-documents/OpenMP4.0.0.Examples.pdf|OpenMP 4.0 Examples]], [[http://openmp.org/forum/viewforum.php?f=12|OpenMP 4.0 API forum]])
 * [[https://www.openmp.org/mp-documents/spec25.pdf|OpenMP v2.5 specification]]
 * [[https://www.openmp.org/mp-documents/spec30.pdf|OpenMP v3.0 specification]]
 * [[https://www.openmp.org/mp-documents/OpenMP3.1.pdf|OpenMP v3.1 specification]] (July 2011)
 * [[https://www.openmp.org/mp-documents/OpenMP4.0.0.pdf|OpenMP v4.0 specification]] (July2013) (Official [[https://www.openmp.org/wp-content/uploads/openmp-examples-4.0.2.pdf|OpenMP 4.0.2 Examples]], [[https://forum.openmp.org/viewforum.php?f=13&sid=79390003ffdb371ab2a6a57484dba0e7|OpenMP 4.0 API forum]])
Line 45: Line 43:
 * [[https://www.openmp.org/wp-content/uploads/openmp-TR10.pdf|OpenMP 5.2 draft (= Technical Report 10)]] (July 2021)


This page contains information on GCC's implementation of the OpenMP specification and related functionality like the auto parallelizer (-ftree-parallelize-loops).

As of GCC 4.2, the compiler implements version 2.5 of the OpenMP specification, as of 4.4 it implements version 3.0 and since GCC 4.7 it supports the OpenMP 3.1 specification. GCC 4.9 supports OpenMP 4.0 for C/C++, GCC 4.9.1 also for Fortran. GCC 5 adds support for Offloading. OpenMP 4.5 is supported for C/C++ since GCC 6 and since GCC 7 for Fortran (with omissions, largest missing item is structure element mapping). Since GCC 9, there is initial OpenMP 5 support (essentially C/C++, only). GCC 10 added some more features, mainly for C/C++ but also for Fortran.

GCC 11 extended the Fortran compiler to fully support OpenMP 4.5 and support more OpenMP 5.0; additionally, nonrectangular loops are now supported.

GCC 12 (ongoing development) has a growing support of OpenMP 5.0 features.

Release Notes

OpenMP Documentation

Automatic Parallelization


  • Streamization

Test Suites and Benchmarks



Feel free to add new items to this list as you run into issues or features that would be interesting to add. Send mail to the list and/or the GCC OpenMP maintainers if any item in this list sounds interesting but is hard to understand.

None: openmp (last edited 2021-07-30 09:33:08 by TobiasBurnus)