OpenMP ARB releases OpenMP 5.2 with enhancements and enhancements


ST. LOUIS, November 9, 2021 – The OpenMP Architecture Review Board (ARB) has released version 5.2 of the OpenMP API. With this version of the standard, the OpenMP API improves its quality and user-friendliness. Join the OpenMP ARB at SC21 virtually or in person at booth # 919 to learn more about the specifics of version 5.2.

“Version 5.2 refactors the OpenMP specification to improve the consistency of its syntax and semantic restrictions,” said Bronis R. de Supinski, chair of the OpenMP languages ​​committee. “The inclusion of C ++ attribute syntax in OpenMP 5.1 motivated us to develop version 5.2, which is in addition to our usual release schedule. “

New features

Version 5.2 of the OpenMP specification was jointly developed by the OpenMP ARB, a group of leading hardware and software vendors, as well as users of the OpenMP community. The updated specification includes the following key additions:

  • Simplified use of unstructured data offload. The default map type of the map clause on target input data (target output data) now provides the same behavior as the to (from) map type.
  • Extended support for user-defined mappers. The declare mapper directive has been extended to accept additional modifiers.
  • Improved memory allocators. The allocator construct was added to support the use of OpenMP allocators for variables allocated by Fortran, and the executable form of the allocation directive and dispatch construct were extended with an end directive optional.
  • Improved use of a PURE Fortran procedure. The directives allowed in a PURE procedure have been extended to include assumption, nothing, and error directives, as well as metadirectives and loop transform constructs.
  • Improved use of staff structure. The allow and firstprivate clauses are now allowed on the scopeconstruct.
  • More coherent linear clause. The linear clause has been updated to be more consistent with the other clauses.
  • Refine the syntax of OpenMP directives. The structure is now more concise and coherent.

“Version 5.2 improves and simplifies the use of the OpenMP API by the user,” noted Michael Klemm, CEO of OpenMP ARB. “In addition, the changes will also facilitate the automated generation of a variety of OpenMP documents, including our quick reference guides, and thereby improve the quality of official OpenMP documentation. “

Collection of programming examples

A collection of programming examples has been released by the OpenMP ARB to familiarize users with the OpenMP API directives, library routines, and environment variables. The source code for the programming examples is available on GitHub.


Major open source vendors and compilers have implemented parts of the OpenMP 5 specification in their products. Additionally, debugging and performance tools are extended with OpenMP 5 functionality. More details about compilers and tools can be found on the OpenMP website.

Newsletter and social networks

Follow the latest OpenMP developments and news by subscribing to the OpenMP newsletter. Also follow us on Twitter at @OpenMP_ARB, on Facebook and on LinkedIn.

About OpenMP

The mission of the OpenMP Architecture Review Board (ARB) is to standardize high-level, multilingual, directive-based parallelism that is efficient, productive and portable. Jointly defined by a group of users and major hardware and software vendors, the OpenMP API is a portable and scalable model that provides parallel programmers with a simple and flexible interface to develop parallel applications for platforms ranging from embedded systems and acceleration devices to multicore systems. and shared memory systems. The OpenMP ARB owns the OpenMP trademark, oversees the OpenMP specification, and produces and approves new versions of the specification. More information is available at

Source: OpenMP


Leave A Reply