gpu: also create (a single) array reference group for arrays of structs
commit25ba75c54e4361b57e1e6e0df9274e59ec762a10
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 15 Oct 2013 10:44:42 +0000 (15 12:44 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 24 Apr 2015 08:36:08 +0000 (24 10:36 +0200)
tree6d3373ddc0674d6d5ba3f2b6f90d2bcccd435d1e
parentb3afb66a82c4720f47167524bda546e3b7b34ab7
gpu: also create (a single) array reference group for arrays of structs

We currently do not map such arrays to shared or private memory,
so there is no real need to compute array reference groups.
However, the fact that there are no array reference groups
is also used as an indication that the array is not accessed at all
and we need to take into account that we cannot draw this conclusion
for arrays of structs.

Create a single combined array reference group for arrays of structs,
assuming the array is accessed at all, so that we can remove the
special case.

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