[LLVMdev] GSoC 2012 Proposal: Automatic GPGPU code generation for llvm

Yabin Hu yabin.hwu at gmail.com
Tue Apr 3 16:41:44 PDT 2012


Hi Justin,

the non-translatable IR with GPU code replaced by appropriate CUDA Driver
> API calls.


One of CUDA driver apis  (cuLaunch) need a ptx asm string as its input. So
if I want to provide a one-touch solution and don't introduce any changes
to tools outside polly, I must prepare the ptx string before I can generate
the correct non-translatable IR part.

As your suggestion, It may be implemented as leaving an input parameter
slot for ptx string in the main method of the non-translatable IR part.
 Maybe I can implement both versions of this. Let Tobi judge which one is
better to be integrated into polly.

best regards,
Yabin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120404/e9e063f9/attachment.html>


More information about the llvm-dev mailing list