GPGPU: collect array references
authorTobias Grosser <tobias@grosser.es>
Mon, 18 Jul 2016 15:44:32 +0000 (15:44 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 18 Jul 2016 15:44:32 +0000 (15:44 +0000)
commitb9fc860a575df0a7fdea7b08090deb6246995355
tree206b5125994f2daa5d1a953ef6f89e78b7a6585c
parent1fb9b64dc0f94e1315d75f5ab4273962514b931e
GPGPU: collect array references

Initialize the list of references to a GPU array to ensure that the arrays that
need to be passed to kernel calls are computed correctly.  Furthermore, the very
same information is also necessary to compute synchronization correctly. As the
functionality to compute these references is already available, what is left for
us to do is only to connect the necessary functionality to compute array
reference information.

llvm-svn: 275798
polly/lib/CodeGen/PPCGCodeGeneration.cpp
polly/lib/External/ppcg/gpu.c
polly/lib/External/ppcg/gpu.h
polly/test/GPGPU/double-parallel-loop.ll
polly/test/GPGPU/host-control-flow.ll
polly/test/GPGPU/host-statement.ll
polly/test/GPGPU/scalar-parameter.ll
polly/test/GPGPU/scheduler-timeout.ll