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

Hongbin Zheng etherzhhb at gmail.com
Wed Apr 4 09:48:12 PDT 2012


oops, forget to cc the dev-list

hi tobi,

>
>
> Yes. And instead of saving the two modules in separate files, we can store
> the kernel modul as a 'string' in the host module and add the necessary
> library calls to load it at run time. This will give a smooth user
> experience and requires almost no additional infrastructure.
We may lost some co-optimization opportunities if we translate the
device function to string too early. Instead we can mark the device
functions with a special calling convention and translate the device
functions in lli/llc.

best regards
ether



More information about the llvm-dev mailing list