This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OpenMP on gcc


As I know, OpenMP is being implemented since version 4.2+ But these
gcc versions does not have official release. Based on my experience, I
compiled few simple OpenMP programs in gcc and I was satisfied.

1) Starting from which version does GCC support OpenMP ?

As I know 4.2


2) Will old versions of GCC just ignore OpenMP pragmas, or these
    will cause errors ?

Based on the pragma specification unknown pragmas are ignored. But you have to deal with the omp_* stuff (i.e. omp_set_lock function)

Regards,
Ferad

--
Ferad Zyulkyarov
Barcelona Supercomputing Center


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]