summaryrefslogtreecommitdiffstats
path: root/rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix clang warnings on unused variable, mismatched tag, print format.Chih-Hung Hsieh2015-05-071-1/+1
| | | | | BUG: 20890093 Change-Id: I91588f481d80b69823bc9d104b8bd09167ee5373
* Fix Allocation-less launchesJason Sams2015-05-052-4/+4
| | | | | | | | | | Cherry-pick fix from AOSP. Error check for kernel launch was generating a false positive. bug 20690242 Change-Id: Ic4c6644072a11aab9a273070be5734519136f685
* Sanity checks in JNI code for closure creationYang Ni2015-05-042-46/+180
| | | | | | | | | | b/20728113 In case the requested size for memory allocation overflows, or memory allocation fails. Change-Id: I8dac132dd4d0210938660ffbb82cbe44000d2a90 (cherry picked from commit 4e90b9b57cc96964a9d5c1845172a72cb51feafb)
* [RenderScript] typo fix in BLAS, TRMM & TSMMMiao Wang2015-04-301-10/+10
| | | | Change-Id: I78f014a864700369c7ccdfb46a257851a45abd7c
* Merge "[RenderScript] typo fix in rs BLAS jni, to correctly handle complex ↵Miao Wang2015-04-301-2/+2
|\ | | | | | | params." into mnc-dev
| * [RenderScript] typo fix in rs BLAS jni, to correctly handle complexMiao Wang2015-04-301-2/+2
| | | | | | | | | | | | params. Change-Id: Ie44f430dc7ed4155f40aa9f9c2864fb0429c97fe
* | Merge "[RenderScript] fix edges cases about Transpose for SYMM & SYR2K" into ↵Miao Wang2015-04-301-6/+6
|\ \ | |/ | | | | mnc-dev
| * [RenderScript] fix edges cases about Transpose for SYMM & SYR2KMiao Wang2015-04-301-6/+6
| | | | | | | | Change-Id: Id86d5fe8475060a22f49b06b6e1f8f3eae7c7e9f
* | Merge "Change how Java Bitmaps are accessed in a few places" into mnc-devJohn Reck2015-04-301-15/+10
|\ \ | |/ |/|
| * Change how Java Bitmaps are accessed in a few placesJohn Reck2015-04-301-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Attempt #2 to land this, original issue was in getSkBitmap and should be fixed Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
* | Merge changes I99f9f9ff,I559b5c56 into mnc-devMiao Wang2015-04-301-58/+89
|\ \ | | | | | | | | | | | | | | | * changes: [RenderScript] L2 BLAS, fix element type in ZHER [RenderScript] fixes for L3 BLAS APIs
| * | [RenderScript] L2 BLAS, fix element type in ZHERMiao Wang2015-04-291-1/+1
| | | | | | | | | | | | Change-Id: I99f9f9ff8942522d6581ff60b9a2d75e33e66ff6
| * | [RenderScript] fixes for L3 BLAS APIsMiao Wang2015-04-291-57/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Typo for validateUplo - Typo in ZHEMM, element should be FLOAT64_2. - For GEMM and SYMM, SYRK, 'CONJ_TRANSPOSE' should also be handled in the validation process. - For SYMM, check matrix A is symmetric. - For HERK, the dimension validation was switched for Transpose case. Also, only Conj Trans is allowed in this case. - FOR SYR2K, fix the dimension check for Matrix C. - For TRMM & TRSM, fix the validation part for dimension check. Change-Id: I559b5c5695aa82604de2955ae2327b694236d3ed
* | | Merge "[RenderScript] Enable L2 BLAS APIs" into mnc-devMiao Wang2015-04-301-66/+66
|\ \ \ | |/ /
| * | [RenderScript] Enable L2 BLAS APIsMiao Wang2015-04-231-66/+66
| | | | | | | | | | | | Change-Id: I484a185a79190da365ac832b90bb3bedb8bbca48
* | | Merge "[RenderScript] improve & minor fixes of L2 BLAS validation." into mnc-devMiao Wang2015-04-301-42/+82
|\ \ \ | |/ /
| * | [RenderScript] improve & minor fixes of L2 BLAS validation.Miao Wang2015-04-231-42/+82
| | | | | | | | | | | | Change-Id: If8dd0f9d4c7db03df22763a80fa6d600539be7c1
* | | Merge "[RenderScript] Fix HEMM and SYRK in IntrinscBLAS to correctly handle ↵Miao Wang2015-04-301-8/+8
|\ \ \ | |/ / | | / | |/ |/| complex 'Alpha' and 'Beta'" into mnc-dev
| * [RenderScript] Fix HEMM and SYRK in IntrinscBLAS to correctly handleMiao Wang2015-04-221-8/+8
| | | | | | | | | | | | complex 'Alpha' and 'Beta' Change-Id: I0aed57d41b0199d5c6dd3c31ca33644a5634dc35
* | Merge "GraphicsJNI Canvas cleanup"John Reck2015-04-221-0/+1
|\ \ | |/ |/|
| * GraphicsJNI Canvas cleanupJohn Reck2015-04-221-0/+1
| | | | | | | | Change-Id: I72e142986a8bc9f464c1951b6b5187919de3462e
* | Merge "Move new script group API into ScriptGroup class"Yang Ni2015-04-222-612/+577
|\ \ | |/ |/|
| * Move new script group API into ScriptGroup classYang Ni2015-04-212-612/+577
| | | | | | | | | | | | | | | | | | And mark existing methods and builder deprecated. Removed ScriptGroup2 class. Renamed nested class UnboundValue to Input. Marked classes Closure, Future, and Input as final. Change-Id: I362910c115e9d0173dc515674e08bf4878232879
* | Merge "Revert "Change how Java Bitmaps are accessed in a few places""John Reck2015-04-201-10/+15
|\ \ | |/ |/|
| * Revert "Change how Java Bitmaps are accessed in a few places"John Reck2015-04-201-10/+15
| | | | | | | | | | | | | | | | Bug: 20207616 This reverts commit a771b9861d11671c780092d35c0062eeefcf37c0. Change-Id: Ifd891cc075274a7986e987229e0fed5a04ed9ff0
* | Revert "A bunch more cleanups"John Reck2015-04-171-1/+0
| | | | | | | | | | | | This reverts commit c294d128d03bc9a9982b273a82516c04583438cc. Change-Id: Id1ebb236950f7c36c6d86e1dd95566d3a200748d
* | Unhide BLAS intrinsics.Tim Murray2015-04-161-2/+0
| | | | | | | | Change-Id: I3006d878e68cce833d8f26cb5d8a1a660a6f5565
* | am 13391109: am 2b300a99: am 782b4339: Merge "[RenderScript] typo fix in ↵Miao Wang2015-04-161-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Allocation.java" * commit '133911095ce0d9ef01766aa7b67a0a31b852e242': [RenderScript] typo fix in Allocation.java
| * \ Merge "[RenderScript] typo fix in Allocation.java"Miao Wang2015-04-161-1/+1
| |\ \
| | * | [RenderScript] typo fix in Allocation.javaMiao Wang2015-04-151-1/+1
| | | | | | | | | | | | | | | | Change-Id: Id0eae76387d18c5bfed6cdbb52781b0dc3e4ae90
* | | | Merge "Hide array allocation"Jason Sams2015-04-162-1/+4
|\ \ \ \
| * | | | Hide array allocationJason Sams2015-04-152-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not done for feature complete Change-Id: I79c8da2c7e64d6feb660c9652688f971535c1f92
* | | | | am 3d9c9093: am 91d2f27b: am 7f72f747: Merge "Add BNNM intrinsic."Tim Murray2015-04-153-0/+60
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | * commit '3d9c9093d1d76d4aeb5f99b1746b65788c72736e': Add BNNM intrinsic.
| * | | | Merge "Add BNNM intrinsic."Tim Murray2015-04-153-0/+60
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Add BNNM intrinsic.Tim Murray2015-04-143-0/+60
| | | | | | | | | | | | | | | | | | | | Change-Id: I05fc9835786455e28d69f2b4ffe70c3292a01404
* | | | | Merge "A bunch more cleanups"John Reck2015-04-151-0/+1
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | A bunch more cleanupsJohn Reck2015-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch a few places to using android::canvas instead of SkCanvas as well which eliminated some JNI Change-Id: I8f98b56442a06362b82b984cd1bd3a92398d8dbc
* | | | | am 09339053: am 6ca1e45a: am 8704ae46: Merge "Add name to ↵Yang Ni2015-04-143-9/+15
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | ScriptGroup2.Builder.create() method" * commit '0933905375790eb850334b53fd6d0981bd40e007': Add name to ScriptGroup2.Builder.create() method
| * | | Add name to ScriptGroup2.Builder.create() methodYang Ni2015-04-133-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This name will be used to name the .so file generated for the script group with fused kernels. Change-Id: I46e351c8412740512f56b7915b14f36183c6eeaf
| * | | Add a name to ScriptGroup2.Builder.create methodYang Ni2015-04-131-1/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The name is not used in any meaningful way yet, but would be used to name the file for generated code for fused kernels in other coming CLs. A script group name cannot be null or empty, or longer than 100 characters. It can only contain letters, digits, '-', or '_'. Change-Id: I95fdbf58e6689da91ca98c2057dfa1a803d3b27b
* | | Merge "Change how Java Bitmaps are accessed in a few places"John Reck2015-04-131-15/+10
|\ \ \ | | |/ | |/|
| * | Change how Java Bitmaps are accessed in a few placesJohn Reck2015-04-131-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
* | | am 72fcf9eb: am af61d43d: am 6d718c2f: Merge "Add support for setting the ↵Tim Murray2015-04-102-0/+26
|\ \ \ | | |/ | |/| | | | | | | | | | | | | cache directory." * commit '72fcf9eb1079312afd7bdbee167c759109af4244': Add support for setting the cache directory.
| * | Add support for setting the cache directory.Tim Murray2015-04-092-0/+26
| | | | | | | | | | | | Change-Id: I2bf1874705b877a8a8262ab49b47fe8241e603d5
* | | resolved conflicts for merge of 764f08ad to masterStephen Hines2015-04-073-22/+42
|\ \ \ | |/ / | | | | | | Change-Id: I0a22225b2d26b6d806de2dcc70ffba29c96865b3
| * | Move cache dir to its own class.Tim Murray2015-04-073-22/+42
| | | | | | | | | | | | | | | | | | This prevents us from loading the RS static initializer all the time. Change-Id: I8cea7540e50251aba8c2f199f06f344f991e7d7f
* | | Merge "Add a name to ScriptGroup2.Builder.create method"Yang Ni2015-04-071-1/+7
|\ \ \ | |_|/ |/| |
| * | Add a name to ScriptGroup2.Builder.create methodYang Ni2015-04-071-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The name is not used in any meaningful way yet, but would be used to name the file for generated code for fused kernels in other coming CLs. A script group name cannot be null or empty, or longer than 100 characters. It can only contain letters, digits, '-', or '_'. Change-Id: I95fdbf58e6689da91ca98c2057dfa1a803d3b27b
* | | am ef2279a1: am 283e5ce3: am 7200f661: Merge "Fix minor blur doc bug"Jason Sams2015-04-071-1/+1
|\ \ \ | | |/ | |/| | | | | | | * commit 'ef2279a1f1a12b9ba16cd18c7ec2be97111307a8': Fix minor blur doc bug
| * | Merge "Fix minor blur doc bug"Jason Sams2015-04-061-1/+1
| |\ \