gpu_group_references: take into account "shared" mark
commitdcc063a4e20e72f82dc490fc01df1b3171249114
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Oct 2013 19:54:23 +0000 (2 21:54 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 3 Jun 2016 14:22:58 +0000 (3 16:22 +0200)
treec00891831601a88e61ba9035ee9c8706d5e71508
parent6cbcbcddc65007aa9431aa66c290cedbe4f13fc8
gpu_group_references: take into account "shared" mark

The "shared" mark indicates where the mapping to shared memory should
be computed.  The mark is inserted by create_kernel right outside
of the "kernel" mark if it is not already present in the input.
This ensures that the behavior of create_kernel is not affected
if the input does not contain a "shared" mark.

This will be useful for hybrid tiling, where the mapping to shared memory
should be computed outside the inner time dimension.

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