add chemv example
commit83580296ecb57171774b9dc4d053ff7f526ba78e
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Wed, 14 May 2014 16:26:50 +0000 (14 17:26 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 15 Feb 2016 09:36:29 +0000 (15 10:36 +0100)
tree338db65c3066578cbafab069ca09aca63e509ce5
parent4ac14a7304b975dfdc4b9743fdbde363bffe0335
add chemv example

ppcg used to take an extremely long time on this example.
In particular, the isl_set_dim_max calls in extract_size
(now in ppcg_size_from_extent called from extract_grid_size)
would take a very long time.
A workaround was to compute explicit representations for
the existentially quantified variables using isl_set_compute_divs
prior to calling isl_set_dim_max, but this would result
in more complicated expressions on other examples.

Since dd37a9c (gpu: extract effective grid size from schedule tree,
Fri Oct 4 14:23:53 2013 +0200), the representation of the extent
of the grid is much simpler and the above problem no longer exists
for this example.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
examples/chemv.c [new file with mode: 0644]
opencl_test.sh.in