<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
Is there any way to find out how does clang transform the OpenMP
pragmas to the <br>
corresponding library calls? <br>
<br>
I m interested, for example, to find out how this code example:<br>
<b><small><br>
void task_func(int a, int b)<br>
{<br>
...<br>
}<br>
<br>
int main()<br>
{<br>
int i;<br>
<br>
#pragma omp parallel<br>
{<br>
#pragma omp single<br>
for (i=0; i<10; ++i) {<br>
#pragma omp task<br>
task_func(i, i+1);<br>
}<br>
#pragma omp taskwait<br>
}<br>
return 0;<br>
}</small></b><br>
<br>
<br>
could be written, using direct calls to the LLVM OpenMP library.
Does clang provide <br>
a way to see the equivalent code with calls to the library?<br>
<br>
I looked around a bit to find out if there is such way, or the
equivalent information<br>
on how I would use the library and handcode an application to use
direct calls to it,<br>
but I couldn't find something. <br>
<br>
If anyone knows how I could achieve this or point to somewhere I
could read something<br>
relevant it would be very nice.<br>
<br>
Cheers,<br>
Babis<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>