gpu.c: attach_copy_stmt: extract local_array directly from group
commit767fd5ad7b4f3b907dc17902f978b1e916a2dc02
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 2 Oct 2014 09:34:18 +0000 (2 11:34 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 10 Apr 2015 13:18:50 +0000 (10 15:18 +0200)
treee696f0fdcd18b8636ff3263636c7aee4c54e2e36
parent7e6c6f48986a6e4ab2a845db54a0d90004900d0c
gpu.c: attach_copy_stmt: extract local_array directly from group

Since the local_array is now available in the gpu_array_ref_group,
there is no longer any need to perform possibly fragile pointer arithmetic.

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