gpu: group statement instances that will form a kernel
commit810a7957e79745efa108f99ae922f2340337088a
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 8 Oct 2013 08:39:17 +0000 (8 10:39 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 16 Mar 2015 13:35:00 +0000 (16 14:35 +0100)
tree40e7fc7e35c53cc929be1a308362050e1445bb9a
parentd54b5038ca8131c2e62b462a0a00ff668feb91d3
gpu: group statement instances that will form a kernel

We currently create kernels during the AST generation, in particular
inside the leaves of the host schedule.
In the future, we will create them in advance and we therefore need
to make sure that the statements that we consider to form a kernel
during the analysis actually end up in a single kernel.
We therefore group the statements that will form a kernel,
provided there is more than one statement.

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