GPGPU: create kernel function skeleton
authorTobias Grosser <tobias@grosser.es>
Tue, 19 Jul 2016 07:32:38 +0000 (07:32 +0000)
committerTobias Grosser <tobias@grosser.es>
Tue, 19 Jul 2016 07:32:38 +0000 (07:32 +0000)
commit32837fe31311dff7e7d7f6960e142b7734eac60c
tree71027a70683af32b9dd467a19564298962f3a707
parent651777da8b3df7fed2a71ea6fb85130a08424fdf
GPGPU: create kernel function skeleton

Create for each kernel a separate LLVM-IR module containing a single function
marked as kernel function and taking one pointer for each array referenced
by this kernel. Add debugging output to verify the kernels are generated
correctly.

llvm-svn: 275952
polly/lib/CodeGen/PPCGCodeGeneration.cpp
polly/test/GPGPU/kernel-params-only-some-arrays.ll [new file with mode: 0644]