Jason Sams
f9678070a0
Merge "Fix bug in grain." into jb-mr1-dev
2012-08-21 17:09:56 -07:00
Jason Sams
a8309cb7ee
Merge "Move the kernel launch to specific intrinsic class." into jb-mr1-dev
2012-08-21 17:08:17 -07:00
Stephen Hines
cdb05977ac
Merge "Switch to v8 (and appropriate llvm-rs-cc stuff)." into jb-mr1-dev
2012-08-21 16:01:30 -07:00
Jason Sams
f1c051b6f2
Fix bug in grain.
...
Compare with 0 was done against unsigned which did not
correctly clamp.
Change-Id: I6dbff36190c279961017e57db3aaba51c60a0ad3
2012-08-21 15:54:07 -07:00
Jason Sams
19e1086df1
Move the kernel launch to specific intrinsic class.
...
This allows support of both input types. Kernel source
and global source.
Change-Id: Iea60bebd79c786795eae81c14cbec352b470a9c0
2012-08-21 15:53:29 -07:00
Jean-Baptiste Queru
02df84a3b1
am 34d85746: am b8da225f: Merge "Tests/RS: Add RS context check for RsBalls setAccel()"
...
* commit '34d8574665caaef52f7c595b57f45f1c9efd7e39':
Tests/RS: Add RS context check for RsBalls setAccel()
2012-08-21 14:02:02 -07:00
Yong Chen
da1c93ae4d
Tests/RS: Add RS context check for RsBalls setAccel()
...
mRS could be null when lock and unlock screen by pressing power key
several times, it causes RsBalls crash. Add null pointer check to fix.
Change-Id: If37dee8609420daaff17772d5194cad5531f98e6
Author: Yong Chen <yong.a.chen@intel.com>
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Singed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 31271
2012-08-17 10:04:21 +08:00
Stephen Hines
31bc7f9f21
Merge "Initial version of Renderscript Compute Benchmark" into jb-mr1-dev
2012-08-16 14:38:43 -07:00
Stephen Hines
9196c9a0c3
Merge "Fisheye filter: approx version, general performance improvements" into jb-mr1-dev
2012-08-16 14:37:34 -07:00
Stephen Hines
65b8734400
Switch to v8 (and appropriate llvm-rs-cc stuff).
...
Change-Id: Ib3f71442af4aa06a55d5a9f819b52082e23dddd6
2012-08-16 14:01:17 -07:00
Rajeev Sharma
000dc53ca9
Initial version of Renderscript Compute Benchmark
...
Tests all library functions with all input types and outputs timing data via
rsDebug. Also tests all basic numerical operations and type conversions.
Change-Id: I39038606776bbf7361d5fc7a9a3ec3b05b8e6ae0
2012-08-15 21:58:19 -07:00
Rajeev Sharma
50b1ba0083
Fisheye filter: approx version, general performance improvements
...
Lightly refactor original filter and rework math for performance. Add approx
version which uses approx_rsqrt, approx_sqrt, and the new approx_atan function.
Change-Id: I796d50da05c1684167696ea4da37d7d75fc78626
2012-08-15 21:50:42 -07:00
Jason Sams
ebefb2c3d8
Testing java compat lib for RS.
...
Change-Id: I77a19dea9f6b9513b79ae6b686dfe1803bb4cd98
2012-08-15 17:26:39 -07:00
Jason Sams
6ab97682fd
Intrinsics test
...
Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447
2012-08-14 12:06:00 -07:00
Jason Sams
dc39e86cdc
Fix build issue with new error checks.
...
Change-Id: Iccb9c12e0427622964a52806652eaddfb5834240
2012-08-10 16:29:00 -07:00
Jason Sams
423ebcb4dc
Implement ScriptGroup and add test.
...
Change-Id: I6ce0479c20f425d501c759c15717aa8b418c3f5f
2012-08-10 16:02:33 -07:00
Rajeev Sharma
6e1b917759
Add case for NEON min to RSTest
...
Regression test for bug 6841495.
Change-Id: If98380f402a711592dcddba5438e3cce5b008131
2012-08-07 14:30:50 -07:00
Rajeev Sharma
8fa57118ad
Add approximate version of Vignette filter to Image Processing test
...
Currently uses approx_recip and approx_length (thus approx_sqrt). Will use
approx_exp once this is implemented.
Change-Id: I9f01023105e82a82262100d8ed831e9250a05ed8
2012-08-06 14:22:54 -07:00
Rajeev Sharma
c1deaa221f
Vignette filter: precompute more values, simplify math, cleanup code
...
Change-Id: I29cfc313a5173fd393944dd9af58d0111a3d726a
2012-08-01 15:46:30 -07:00
Jason Sams
41bd3508e7
save 2ms replace div with mul.
...
Change-Id: I13d80b074b70cd2edd71f33e2881aa367b7652c7
2012-07-30 16:41:18 -07:00
Rajeev Sharma
bb0dbf7373
Add vignette filter to Image Processing test
...
Add a vignette filter, mostly based on the GLSL version in
android.filterpacks.imageproc.VignetteFilter but with more input options.
Change-Id: I6f38a0ca09d35566104ec8e8523548399b8704a0
2012-07-27 11:03:52 -07:00
Rajeev Sharma
bb2c947636
Add fisheye filter to Image Processing benchmark
...
Add a fisheye filter, mostly based on the GLSL version in
android.filterpacks.imageproc.FisheyeFilter but with the configurable center
functionality from the JNI version in the original PhotoEditor.
Change-Id: I6be7d82bf2ad564919f9e675ac9a445fae6c440a
2012-07-27 11:01:36 -07:00
Rajeev Sharma
a807a50cf2
Add unsigned tests to math agreement test
...
All operations on unsigned tests were previously commented out due to
bug 6764163. Signed char vectors remain commented out due to bug
6865598, but unsigned char vectors appear to be working properly.
Change-Id: I723c43fe69a78c8f8e03ed1e4db95f73966fcaad
2012-07-25 15:47:25 -07:00
Stephen Hines
85dae98ca1
Test for unsigned RS setters.
...
BUG=6764163
This verifies that we don't trample memory with our unsigned set_*()
operations. Previous versions of llvm-rs-cc generated code that could
accidentally overwrite neighboring locations (due to setVar() being
called on the larger Dalvik types for unsigned globals).
Change-Id: I014496122a05cf425efa160978d0738a5233742e
2012-07-25 11:45:28 -07:00
Stephen Hines
b10f455e44
Merge "Updated math_agree test"
2012-07-20 15:52:42 -07:00
Rajeev Sharma
5666d8f4fb
Updated math_agree test
...
Tests for min, max, fmin, and fmax. Currently has tests for chars and longs as well as all unsigned types disabled due to outstanding Renderscript/LLVM bugs. Will enable those tests cases once bugs are fixed.
Change-Id: I80474f7b68a7916c2172056421db7d170d00f1cb
2012-07-20 15:47:20 -07:00
Jason Sams
4a45de8c5f
Add film grain test.
...
Change-Id: Ic7c7d7f66fbcf9a9e7a031a4c34f9a1372f0a7b7
2012-07-20 15:40:45 -07:00
Jason Sams
52541816fb
Refactor ImageProcessing benchmark and stabilize results.
...
Change-Id: I3d43bf855515a3ab707089e97cc310b561683f5f
2012-07-19 16:31:47 -07:00
Jason Sams
702fb2c502
Cleanup filter preview test.
...
Change-Id: I626a1261affb86499ec398678523b0fe9e5fe679
2012-07-10 14:18:45 -07:00
Jason Sams
ba929942f1
Merge "Filter performance tests."
2012-07-02 18:16:43 -07:00
Stephen Hines
10efb53234
Switch to "tests" instead of "optional" for build.
...
Change-Id: Iaea3819c18be34b5c3864015316b67397c928f2d
2012-07-02 16:40:48 -07:00
Jason Sams
0cb555ffcc
Filter performance tests.
...
Change-Id: Ic1c898ac41372da7b0a25ebb4c83b075c7467e35
2012-06-13 14:40:03 -07:00
Rajeev Sharma
325ca45471
Add math agreement test. float_distance and float_almost_agree added to header
...
Change-Id: Ieee5e4894cb62db384588547d8762e57f3839bf4
2012-05-29 16:36:16 -07:00
Stephen Hines
9fc54f3d85
Revert "Large matrix test"
...
This reverts commit 4af866511bad19f2fec1aee6d10d58242ae40087
2012-05-23 16:02:17 -07:00
Jason Sams
4af866511b
Large matrix test
...
Change-Id: Icd0f4314f83e7d23964cb583be4ce88b162d3d97
Fix LargeMatrix test.
2012-05-22 18:50:09 -07:00
Jason Sams
519b492a4d
am df06d51f: am 4ee6a63d: Merge "Move gfx samples to test directory for compatibility testing." into jb-dev
...
* commit 'df06d51ffa38c86ea138d24c0129763878553c71':
Move gfx samples to test directory for compatibility testing.
2012-05-17 15:33:32 -07:00
Jason Sams
e5f2f66f8c
Move gfx samples to test directory for compatibility testing.
...
Change-Id: Iede1c0a14abf9aa3f31ab219fba3bf3a15ef8c90
2012-05-16 15:43:25 -07:00
Stephen Hines
030ab67e7b
am 69b2bda2: am a7ea0d39: Merge "Add unit tests for convert (with relaxed precision)." into jb-dev
...
* commit '69b2bda2e967a2f53e689c9622c748c0a810fb46':
Add unit tests for convert (with relaxed precision).
2012-05-15 15:17:53 -07:00
Stephen Hines
0ccbd524e6
Test float vector versions of rsDebug().
...
Change-Id: I74cf2e23cd323d25af6e46587da8d442fdd058c8
2012-05-14 18:06:03 -07:00
Stephen Hines
724de98edb
Add unit tests for convert (with relaxed precision).
...
BUG=6127576
Change-Id: Ia5b4efa99de4f6df644779eeee6763eb31be4d90
2012-05-14 15:05:58 -07:00
Stephen Hines
a25b2e80c7
Test clamp (full and relaxed precision).
...
BUG=6127576
Change-Id: I9501be7db42daa11dcc71bd619a993c80ef097de
2012-05-10 15:25:11 -07:00
Stephen Hines
adeb809201
Start passing element/dim information along with FieldPacker.
...
BUG=6009244
Change-Id: I3c82c8b40c899b875831f53cf0ad82ea36c1a043
2012-05-01 00:29:52 -07:00
Stephen Hines
9b9e74eea1
Move mesh to end of test list until we fix LLVM.
...
Change-Id: I8f06e80d7cea4b51e47625186e45ad44adb45b6b
2012-05-01 00:29:52 -07:00
Alex Sakhartchouk
64275552a6
Fixing test affected by API renaming.
...
Change-Id: Ib42e1958b385069461ca9fec1ccd9f578c5d47d3
2012-04-16 11:21:02 -07:00
Alex Sakhartchouk
0e2c70112b
Merge "Unhiding J API's for Renderscript."
2012-04-12 16:06:02 -07:00
Alex Sakhartchouk
918e840628
Unhiding J API's for Renderscript.
...
Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
2012-04-11 14:04:23 -07:00
Stephen Hines
72afa117b7
Add tests for rootn() to math_conformance.
...
BUG=6319010
Change-Id: I3fa7d688e6f3b66f51a1c25a2c2104b659691c8b
2012-04-10 20:15:47 -07:00
Jason Sams
c5f519c5ec
Rename ioReceive and ioSend
...
First checkin of Allocation IO test
Change-Id: I26379e442796caab95a089dbb42b02192f4cc563
2012-03-29 17:58:15 -07:00
Jason Sams
75ec67848c
Add fp_relaxed pragma to image processing test.
...
BUG=4540719
Change-Id: I147587b50106208a2280712ae69ca2bc111a2b77
2012-03-28 17:58:52 -07:00
Alex Sakhartchouk
043f5ced1b
More rearrangement and renaming.
...
Change-Id: Ia922c5bff1734a29b786ba95065f81c8dedf90cd
2012-03-22 10:50:55 -07:00