commit | 708fd1a5f90483153a0ec43c8f5588141acaba0e | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Fri Oct 14 14:02:43 2011 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Oct 14 14:02:43 2011 -0700 |
tree | 2c1a2b05a91bd5c6011c8ff996347bb062b079c4 | |
parent | 5d35f1072365e378e7a6c1df5b189a9559f803e3 [diff] | |
parent | 74ff61032fbcdc810501b72da5428d79b164858a [diff] |
Merge "Make launchtestxlw use constant."
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 @@ 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; } }