gpu_local_array_info_linearize_index: handle references to array slices
commit40cba99b75c309759578aa06295bd0c9c519c051
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 28 Mar 2014 08:59:21 +0000 (28 09:59 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 22 Jun 2014 21:56:32 +0000 (22 23:56 +0200)
tree41259db7e8ded7a0e06f614f722ea9826dd40c6e
parentd493affbed2b74fb964d76bd05e0962a58776491
gpu_local_array_info_linearize_index: handle references to array slices

When we add support for calling user defined functions, we may
run across cases where an entire array or a slice of an array
is passed to a function.
Add preliminary support for linearizing such expressions.

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