[cfe-dev] Support for multiple OpenMP runtimes in Clang

Eric Christopher echristo at gmail.com
Thu Mar 13 11:22:26 PDT 2014


On Thu, Mar 13, 2014 at 7:15 AM, Giuseppe Tagliavini
<giuseppe.tagliavini at unibo.it> wrote:
> Currently Clang support to OpenMP pragma directives is limited to a single runtime, that is Intel OpenMP Runtime Library.
>
> I am member of a research group focused on hw/sw design of embedded systems, and for many years we have used the API exposed by GNU libgomp to build OpenMP-compliant libraries for several embedded architectures.
> Consequently,  we are planning to modify codegen classes of Clang in order to support the ligomp API used in our projects.
>
> I have a couple of questions about this topic.
>
> 1. As far as you know, is there any work in progress to support libgomp?
> 2. What do you think about introducing an intermediate layer in Clang codegen module, with the aim to target different OpenMP runtimes (for example by using a compilation flag)?

Not sure on 1, but 2 isn't necessarily a bad idea. I'm sure someone
will review the patches if you send them.

Thanks!

-eric

>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev



More information about the cfe-dev mailing list