gpu.c: extract_access: handle references that do not access anything
commit8a9ec5513f29cf8bab6342b9419726d3c010000e
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 6 Dec 2014 09:32:36 +0000 (6 10:32 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 18 Feb 2015 16:27:42 +0000 (18 17:27 +0100)
tree25f2b7d33dd61ee06b693983c973c9dc886c5306
parent4eb7df0a72e2246e6bff84fe0b948c777834a37a
gpu.c: extract_access: handle references that do not access anything

If a reference does not access anything, then the access relation is
empty and we cannot extract a map representation from the union map
representation.  We therefore reconstruct a map representation
from the index expression instead.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
gpu.c
schedule.h
tests/not_accessed.c [new file with mode: 0644]
tests/not_accessed_opencl_functions.cl [new file with mode: 0644]