gpu.c: compute_sync_writes: take into account expansions
commit3aefba3f208fc44eaa2d5aaffbd449b61c7dc993
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 22 Mar 2016 17:12:20 +0000 (22 18:12 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 1 Apr 2016 07:04:59 +0000 (1 09:04 +0200)
tree1d22856c5ea68815213c9ffbfdfe6e65fc7c120c
parent83fcb1bd6a80016165f9b60f6bc9a5e50dfe2038
gpu.c: compute_sync_writes: 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