gpu backend: concentrate decision about which tile to use in a single function
commit2b3dd8305f1d8e3956bd63d8d521f3b5076b05be
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 29 Jun 2015 08:54:07 +0000 (29 10:54 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 18 Dec 2015 13:36:21 +0000 (18 14:36 +0100)
tree6995484ced6d3383b991370201460cbecd6aa926
parent279628d0fe0757561af378c27715ba837046ace6
gpu backend: concentrate decision about which tile to use in a single function

If both a private tile and a shared tile have been computed, then the private
tile ends up being used.  This choice is repeated in several places, making
it difficult to chance the policy.
Concentrate the decision in a single new function called
gpu_array_ref_group_type.

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