GPGPU: Complete code to allocate and free device arrays
authorTobias Grosser <tobias@grosser.es>
Mon, 25 Jul 2016 12:47:33 +0000 (12:47 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 25 Jul 2016 12:47:33 +0000 (12:47 +0000)
commit7287aeddf1e5973905461d3afbdd6648f02ede23
tree01a02ed1975945e41dec9c00b3c34b4ceaaed721
parent19b8a0bbfb23956fedaeb70a00d8c302c27e6f9e
GPGPU: Complete code to allocate and free device arrays

At the beginning of each SCoP, we allocate device arrays for all arrays
used on the GPU and we free such arrays after the SCoP has been executed.

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