gpu.c: check_shared_memory_bound: ignore groups that are mapped to registers
commitdd97120a707590535606e8d65620ce39580f856f
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 27 Aug 2013 07:50:52 +0000 (27 09:50 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 18 Sep 2013 11:25:04 +0000 (18 13:25 +0200)
treef90aa88c50cd3569869c1879b714b0b15d547dbb
parenta413bd286f0748af489288fd73675bad00cfac07
gpu.c: check_shared_memory_bound: ignore groups that are mapped to registers

For a given array reference group, we may have computed both a tile
for mapping to shared memory and a tile for mapping to registers.
If so, the group will be mapped to registers and we should ignore the
size of the tile for mapping to shared memory when computing
the total amount of shared memory used.

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