gpu.c: create_kernel: take into account expansions
commit61eb00f7edc5d295f864caf92ba9e85d93b4b4fb
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 19 Mar 2016 11:20:08 +0000 (19 12:20 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 1 Apr 2016 07:04:59 +0000 (1 09:04 +0200)
tree9cfdf3975d5b0bd15600a6329b2432637dfaa15d
parentd89ead70598b2878e42ad0695f5ad0d794c4a06c
gpu.c: create_kernel: 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
gpu.h