Add test to check that we don't exceed our kernel dimensions.

We write a pattern into an Allocation and then verify using a kernel that
each cell contains that pattern. If we don't see the pattern, we know that
we have definitely stepped outside of our range (most likely due to stride).

Change-Id: I4f285b2a0299f5fa8ee10853fb0d8b812fdadf51
(cherry picked from commit 8ab2ef851e70f3c77b4aa4ef151d4a7823062b15)
3 files changed