diff options
author | Stephen Hines <srhines@google.com> | 2011-10-14 14:02:43 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-10-14 14:02:43 -0700 |
commit | 708fd1a5f90483153a0ec43c8f5588141acaba0e (patch) | |
tree | 2c1a2b05a91bd5c6011c8ff996347bb062b079c4 | |
parent | 5d35f1072365e378e7a6c1df5b189a9559f803e3 (diff) | |
parent | 74ff61032fbcdc810501b72da5428d79b164858a (diff) | |
download | frameworks_base-708fd1a5f90483153a0ec43c8f5588141acaba0e.zip frameworks_base-708fd1a5f90483153a0ec43c8f5588141acaba0e.tar.gz frameworks_base-708fd1a5f90483153a0ec43c8f5588141acaba0e.tar.bz2 |
Merge "Make launchtestxlw use constant."
-rw-r--r-- | tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/launchtestxlw.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/launchtestxlw.rs b/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/launchtestxlw.rs index 47ae8ca..7b81dfe 100644 --- a/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/launchtestxlw.rs +++ b/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/launchtestxlw.rs @@ -22,8 +22,8 @@ uint8_t *buf; void root(uchar *v_out, uint32_t x) { uint8_t *p = buf; - p += x * 2048; - for (int i=0; i<2048; i++) { + p += x * dim; + for (int i=0; i<dim; i++) { p[i] = 1; } } |