The PTX back-end is robust (it's based on the sources used by nvcc), but I'm not sure about the OpenMP representation in LLVM IR. I believe the OpenMP constructs are already lowered into libgomp calls before leaving DragonEgg. It's been awhile since I've loooked at it though.<div>
<br></div><div>If you use the PTX back-end and have any issues, please don't hesitate to post to the list and cc: me at <a href="mailto:jholewinski@nvidia.com">jholewinski@nvidia.com</a></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Nov 8, 2012 at 8:05 AM, Apala Guha <span dir="ltr"><<a href="mailto:aguha@uchicago.edu" target="_blank">aguha@uchicago.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is it possible to translate an OpenMP program to CUDA using LLVM? I read that dragonegg has a OpenMP front-end and LLVM has a PTX back-end. I don’t know how mature these tools are. Please let me know. Thanks.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">-Apala<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Postdoctoral Scholar<u></u><u></u></p>
<p class="MsoNormal">Department of Computer Science, University of Chicago<u></u><u></u></p>
<p class="MsoNormal">Computation Institute, Argonne National Laboratory<u></u><u></u></p>
<p class="MsoNormal"><a href="http://sites.google.com/site/apalaguha/home/" target="_blank">http://sites.google.com/site/apalaguha/home/</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><br><div>Thanks,</div><div><br></div><div>Justin Holewinski</div><br>
</div>