can_tile_for_shared_memory: project out the appropriate dimensions
commit4208e514d0b1e8bd69b1c1bd415854fef13409e0
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 7 Jul 2011 18:42:15 +0000 (7 20:42 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 7 Jul 2011 18:42:15 +0000 (7 20:42 +0200)
tree9e12061202ee38b7f40aab9191ccae3bfe116303
parentf21268d19d7450b02cb603d3bc01586912a0dfa1
can_tile_for_shared_memory: project out the appropriate dimensions

The old code did not take into account the fact that some dimensions
had already been projecting out.  This problem went unnoticed because
the broken code happens to work for 1D and 2D arrays.

Reported-by: Thiyagarajan Chockalingam <thambuc@rams.colostate.edu>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
cuda.c