add support for arrays of structs
commit89cf2962388273d4177a5b48a4e43fae44052abf
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 12 Aug 2013 21:14:50 +0000 (12 23:14 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 16 Oct 2013 13:25:22 +0000 (16 15:25 +0200)
tree045a8f6f8534a24ca29b543830277b3d57c6a5b8
parentdcc25bcd8e2c9ee26c0b40c90b6b94060b7de140
add support for arrays of structs

pet takes care of parsing arrays of structs and together with isl,
it also takes care of printing accesses to arrays of structs.
Since we assume that there is no aliasing, dependence analysis
does not need to be modified.
Elements of the outer arrays of structs are transferred as a whole
to the device, which means we need to map the member accesses
to the corresponding element of the outer array during some
parts of the processing.
We currently do not allow arrays of structs to be mapped to
shared or private memory.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
cuda.c
gpu.c
gpu.h
gpu_print.c
gpu_print.h
pet
ppcg.c
ppcg.h
schedule.h