GPGPU: Load GPU kernels
authorTobias Grosser <tobias@grosser.es>
Mon, 25 Jul 2016 16:31:21 +0000 (16:31 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 25 Jul 2016 16:31:21 +0000 (16:31 +0000)
commit577935962456e90580b24082473416f110f7705d
tree6b0174db71318006daabc912cb38c438f733b970
parent97de034e185bbf5024b87ab3de84c2fa8a1a8f18
GPGPU: Load GPU kernels

We embed the PTX code into the host IR as a global variable and compile it
at run-time into a GPU kernel.

llvm-svn: 276645
polly/lib/CodeGen/PPCGCodeGeneration.cpp
polly/test/GPGPU/double-parallel-loop.ll
polly/test/GPGPU/host-control-flow.ll
polly/tools/GPURuntime/GPUJIT.c
polly/tools/GPURuntime/GPUJIT.h