[Openmp-dev] #pragma directives expansion
Millad Ghane
millad.mg at gmail.com
Wed Sep 17 11:15:48 PDT 2014
Hello everyone,
I know that an OpenMP #pragma directive is expanded into some lines of
codes (or maybe I am wrong). I was hoping if someone could tell me where
should I look for it?
For example, considering this piece of code:
#pragma omp parallel
{
printf("Hello world! %d", omp_get_thread_num());
}
will be converted to something like this:
f1();
{
printf("Hello world! %d", omp_get_thread_num());
}
f2();
If I am wrong tell me.And if you know where should I look for in the code,
let me know about it.
Best Regards,
Millad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20140917/9a9ccd6f/attachment.html>
More information about the Openmp-dev
mailing list