summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuScript.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-03-20 15:59:10 -0700
committerJason Sams <jsams@google.com>2013-06-24 20:24:58 +0000
commitda9f173879716082b590606389ae42c7ed15c947 (patch)
treeba3e4cdf09d1d6a0155af8e5c2cc182c8035023f /cpu_ref/rsCpuScript.cpp
parent389ae9ac71245bc213b8148f2982464074a4b158 (diff)
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)
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
0 files changed, 0 insertions, 0 deletions