gpu: extract effective grid size from schedule tree
commitdd37a9cbf80106da060a817018d2c1fe0d9c7794
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 4 Oct 2013 12:23:53 +0000 (4 14:23 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 30 Mar 2015 11:40:27 +0000 (30 13:40 +0200)
tree07bd38f6c6ddc44f3a0ca482f6a9d8feeaa2cc29
parent16f332c80b40e47691b1a24c46e11f4e4325f846
gpu: extract effective grid size from schedule tree

Before, we would extract the effective grid size based on the domain
of the schedule generated by the AST generator for the host code.
Since we want to insert a context node in the schedule tree expressing
the bounds on the block identifiers,
we need to extract this set from the schedule tree instead.

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