[LLVMdev] How to use llvm as the backend for cuda?

Yuan Lin
Thu, 10 May 2012 17:51:38 -0000

Bu Wu, we have contributed back our ptx backend implementation (NVPTX). You
should be able to find it in the trunk now.

At the GTC next week, we will talk about our road maps and how to build
different compilers using the software we currently provide. Here is a link to
the session http://tinyurl.com/6nekjum .

More details can be provided after GTC.

Thanks.

Yuan



From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Bo Wu
Sent: Thursday, May 10, 2012 10:22 AM
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] How to use llvm as the backend for cuda?

Hi,

I received an email from Nvidia, saying that llvm now supports ptx code
generation. I am confused how to use llvm as my backend, as it seems clang's
support for cuda is not complete yet. My question is: given a cuda program, how
can I use llvm to generate ptx code?


Thanks,
Bo


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may
contain
confidential information.  Any unauthorized review, use, disclosure or
distribution
is prohibited.  If you are not the intended recipient, please contact the sender
by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20120510/7854c773/attachment.html>