add a test case that passes array slices that are reused in the computation
commit348332977cebecb46492b1149f7f9add71aea652
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 19 Nov 2014 11:51:09 +0000 (19 12:51 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 13 Feb 2015 22:13:04 +0000 (13 23:13 +0100)
tree1f9c8d28aa4bce165cea58be12f41dc838dc8f45
parentbc52c7c40836c1410e3663978e9c0e4c49f2d569
add a test case that passes array slices that are reused in the computation

This new test case makes sure that we will continue to refrain from
mapping arrays that are passed in slices to shared memory.
Note that in principle it is possible to do this for 1D arrays,
but this would require special handling of the index expressions.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
tests/call3.c [new file with mode: 0644]
tests/call3_opencl_functions.cl [new file with mode: 0644]