gpu.c: add_copies_group_private: take into account expansions
commit637afe2ffc6c64e03078a2bdb050171c31e2e6bb
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 19 Mar 2016 21:46:14 +0000 (19 22:46 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 1 Apr 2016 07:04:59 +0000 (1 09:04 +0200)
tree0570a60166fcb246eaa48af1ced7bb9464fe5ebb
parent61eb00f7edc5d295f864caf92ba9e85d93b4b4fb
gpu.c: add_copies_group_private: take into account expansions

The schedule trees from which kernels are extracted currently do not
contain any expansions, but this may change when statement instances
are combined during scheduling.
Take such expansions into account.

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