gpu: linearize global memory array index during AST generation
commita50c94693e98f13045da9e1069bda54f48c03a93
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 7 Feb 2016 18:30:26 +0000 (7 19:30 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 15 Feb 2016 09:36:29 +0000 (15 10:36 +0100)
treeac94413cec1beb9eb49e364f659f945e973c9851
parentb89e3c1a99162ff37292c6071013d1009f623b61
gpu: linearize global memory array index during AST generation

This ensures the complete AST expression for the index
is available after AST generation such that it can be scanned
for the use of operations that require macro definitions.

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