handle data dependent accesses
commit075630745a383521f80d09e77eb79884e0a3aebe
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 22 Aug 2013 08:23:33 +0000 (22 10:23 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 16 Oct 2013 13:25:22 +0000 (16 15:25 +0200)
tree5798cb4ab2bdee2979a13e2e5aac0c5ce87f357a
parent5222221104371270a24e22a1b16120b86e45427d
handle data dependent accesses

In particular, keep track of may-writes and must-writes separately.
Adjust data flow analysis, the computation of live-out accesses and
the computation of the data to be copied onto the device to take
into account the may/must nature of writes.

If an array reference group involves any may writes (that are not
also must writes), then it is not considered for mapping to shared/private
memory.  Supporting such mappings for such reference groups would
require making sure that all data that may or may not be written
is first copied to shared/private memory.

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