gpu: avoid private memory if unrolling is needed and any_force_private is set
commit564cb4d8df213595fbdfd905f44b1775e70fee37
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 3 Oct 2013 13:40:50 +0000 (3 15:40 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 3 Apr 2015 07:42:45 +0000 (3 09:42 +0200)
tree3c05992bf421ed6c20a91224652164955110990b
parent8945434daac6546b284924e336a37d4230de5ed4
gpu: avoid private memory if unrolling is needed and any_force_private is set

That is, do not even construct a private tile in this case.
Before we would construct such a private tile but then discard it afterwards
inside interchange_for_unroll.  This original check is however performed
after all the array reference grouping has finished.
If both a mapping to shared and private memory is possible then this
grouping would take into account the private tile, while in the end
the shared tile would get used.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
gpu.c
gpu_group.c