ppcg_kernel: also keep constraints on outer schedule dimensions in context
commit9d228336ef506d34727cbfe6c988682fe5cbc4f8
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 20 Sep 2014 11:27:08 +0000 (20 13:27 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 16 Mar 2015 13:35:01 +0000 (16 14:35 +0100)
treec31aff9475cfdb958be081612be5d079b93b05aa
parent561040e32347dd4dcdfc02cfe61cf1f63805295c
ppcg_kernel: also keep constraints on outer schedule dimensions in context

In particular, postpone projecting out the outer schedule dimension
until the point where we need a context in terms of only the parameters,
i.e., when we are computing the effective grid size.
We will be able to reuse the context with outer schedule dimensions
when we introduce a kernel guard in the schedule tree in a later commit.
In the future, we may even want to take into account the outer schedule
dimensions during the computation of the effective grid size as well.

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