GPGPU: Complete code to allocate and free device arrays
commit4188beededece490681806211bf28e8f214f56c6
authorTobias Grosser <tobias@grosser.es>
Mon, 25 Jul 2016 12:47:33 +0000 (25 12:47 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 25 Jul 2016 12:47:33 +0000 (25 12:47 +0000)
tree00576a43f81bdb047ec5672f7cadd7ba3580802a
parentcb92b4ccf4735d96d56b040f05d6a9a8aee618b9
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.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@276635 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PPCGCodeGeneration.cpp
test/GPGPU/double-parallel-loop.ll
tools/GPURuntime/GPUJIT.c
tools/GPURuntime/GPUJIT.h