Intel's Compiler Team Is Trying To Land OpenMP In Clang ASAP
Written by Michael Larabel in Compiler on 20 June 2014 at 08:53 AM EDT. 4 Comments
Intel developers in Moscow remain hard at work trying to land OpenMP support within LLVM's Clang C/C++ compiler as soon as possible.


In the past few days have been a number of OpenMP-related commits to the Clang compiler by Alexey Bataev of Intel:

- Initial support for the reduction clause.
- Initial support for the "#pragma omp for".
- Reformatting and code improvements for OpenMP.
- Improved diagnostics messages for OpenMP.
- Initial support for the scheduler clause.

While there's this OpenMP-related work landing within LLVM trunk ahead of LLVM 3.5, there isn't yet full support for this multi-platform, shared memory, multi-processing programming API. Ideally we'll see it in LLVM/Clang 3.5 due out in August.

In response to a question on the LLVM mailing list, Alexey Bataev stated while there isn't yet working OpenMP support, "we'll try to add support of OpenMP in trunk ASAP."

For those interested in OpenMP for Clang, last month I ran some benchmarks of the out-of-tree LLVM Clang OpenMP support and compared the OMP performance to GCC in various multi-threaded benchmarks using this API in C/C++ workloads; Clang will be much more competitive to GCC on modern multi-core systems in the many scientific applications that take advantage of OpenMP.
About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Compiler News
Popular News
Trending Reviews & Featured Articles