llvm-project/polly/lib
Tobias Grosser 51dfc27589 GPGPU: Store back non-read-only scalars
We may generate GPU kernels that store into scalars in case we run some
sequential code on the GPU because the remaining data is expected to already be
on the GPU. For these kernels it is important to not keep the scalar values
in thread-local registers, but to store them back to the corresponding device
memory objects that backs them up.

We currently only store scalars back at the end of a kernel. This is only
correct if precisely one thread is executed. In case more than one thread may
be run, we currently invalidate the scop. To support such cases correctly,
we would need to always load and store back from a corresponding global
memory slot instead of a thread-local alloca slot.

llvm-svn: 281838
2016-09-17 19:22:31 +00:00
..
Analysis GPGPU: Detect read-only scalar arrays ... 2016-09-17 19:22:18 +00:00
CodeGen GPGPU: Store back non-read-only scalars 2016-09-17 19:22:31 +00:00
Exchange Perform copying to created arrays according to the packing transformation 2016-09-14 06:26:09 +00:00
External cmake: PollyPPCG depends on PollyISL 2016-09-13 21:09:35 +00:00
JSON Fix spacing around variable initializations and for-loops. NFC. 2016-08-09 17:49:24 +00:00
Support Update CFGPrinter -> CFGPrinterLegacyPass 2016-09-16 05:48:09 +00:00
Transform Perform copying to created arrays according to the packing transformation 2016-09-14 06:26:09 +00:00
CMakeLists.txt Add -polly-flatten-schedule pass. 2016-09-08 15:02:36 +00:00
Polly.cpp Drop '@brief' from doxygen comments 2016-09-02 06:33:33 +00:00