ppcg_kernel: initialize array field as soon as ppcg_kernel is created
commit712ff2724d99d7d7339ba192084d3781278fd647
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Oct 2013 19:54:23 +0000 (2 21:54 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 16 Mar 2015 13:35:00 +0000 (16 14:35 +0100)
tree47fe7a81e6027f4bcfd0f5126d2614814304658b
parentc5d7c879d4d9d0494255cb05676a360f3446dd6c
ppcg_kernel: initialize array field as soon as ppcg_kernel is created

We currently only store localized copies of the array sizes in
the gpu_local_array_info elements, but we will be adding more
kernel specific information to this data structure.
This information may be set before localize_bounds, so we need
to construct the array of gpu_local_array_info structures beforehand.

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