[cfe-dev] OpenMP support in CLANG: A proposal

Mehdi AMINI mehdi.amini at silkan.com
Wed Nov 7 20:44:43 PST 2012


Le 07/11/2012 20:20, Mahesha HS a écrit :
> Ok. Shall I assume the following basic thumb rule for our OpenMP
> support in Clang?
> "The OpenMP annotated C/C++ source when compiled with OpenMP
> *disabled* should be (both syntactically and semantically) equal to
> its sequential counterpart. Any OpenMP (non-standard) extension which
> violates the above rule will not be supported even if it will going to
> be *not* compatible with existing OpenMP compilers".

You have to define what you mean by "semantically equal".
I don't think that OpenMP provides "bit-to-bit" equivalence (think just 
of reductions on floating point for instance), and thus I don't 
understand the "semantical equality" you're seeking.



More information about the cfe-dev mailing list