LLVM Clang's OpenMP 4.x Support Continues Maturing

Written by Michael Larabel in LLVM on 3 March 2016 at 07:16 AM EST. Add A Comment
LLVM
With LLVM Clang 3.7 came full support for OpenMP 3.1 at long last but with OpenMP 4.5 being the latest spec, Intel and others involved with the Clang OpenMP initiative haven't let up and continue working towards supporting the latest OpenMP 4.x interfaces.

Intel Moscow's Alexey Bataev continues to be one of the most prolific developers involved on advancing the state of OpenMP support for the LLVM Clang compiler. With the OpenMP 3.x support being squared away, most of his work has been on OpenMP 4.0 and 4.5 compliance.

There unfortunately isn't any exciting breakthrough to share today -- like full OpenMP 4.5 compliance for Clang -- but a lot of smaller additions continue building up. The OMP4 work of the past week includes:

- [OPENMP 4.0] Initial support for 'omp declare reduction' construct.
- [OPENMP 4.5] Initial support for data members in 'linear' clause.
- [OPENMP 4.5] Codegen for data members in 'reduction' clause.
- [OPENMP 4.5] Initial support for data members in 'reduction' clauses.
- [OPENMP 4.5] Codegen for member decls in 'lastprivate' clause.
- [OPENMP 4.5] Support fielddecls in 'shared' clause.

Again, those have just been the OpenMP 4 changes in the past week. Hopefully by the time of LLVM Clang 3.9's release later this year there will be full OMP4 support to report on so that this compiler can better compete with GCC in parallel programming workloads.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week