summaryrefslogtreecommitdiffstats
path: root/rs/java
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fixed ScriptGroup for outputs to globals" into mnc-devYang Ni2015-06-051-38/+44
|\
| * Fixed ScriptGroup for outputs to globalsYang Ni2015-05-181-38/+44
| | | | | | | | | | | | | | | | | | | | b/21187932 Dependency from one kernel to another kernel -- where one reads the other's output to a global allocation -- was not handled correctly. This CL fixed that. Needed to make a new CTS test pass. Change-Id: I500f9cac9d89bcaec7c186e942ba4a7d413daadb
* | Ensure RenderScript tracing is always balanced via try/finallyChris Craik2015-06-021-278/+348
| | | | | | | | | | | | bug:21560057 Change-Id: I6709b81636822135848c10adca8ba425f3c2212e
* | Fix RenderScript copy tracing sectionsChris Craik2015-06-011-12/+16
|/ | | | | | bug:21560057 Change-Id: I3b44d04bd908d9549ef7ada5f48f5d94e239d186
* Merge "[RenderScript] Add dummy getMinorID to maintain compatible with old ↵Miao Wang2015-05-141-0/+14
|\ | | | | | | RS compat lib." into mnc-dev
| * [RenderScript] Add dummy getMinorID to maintain compatible with old RSMiao Wang2015-05-141-0/+14
| | | | | | | | | | | | | | compat lib. bug: 21132592 Change-Id: I375f188dfbd33367a9589533aa51b182fda8bc21
* | Merge "Fix issues found during CTS testing of FP16" into mnc-devJason Sams2015-05-141-2/+3
|\ \ | |/ |/|
| * Fix issues found during CTS testing of FP16Jason Sams2015-05-131-2/+3
| | | | | | | | | | | | | | | | | | bug 20822382 This corrects a copy&paste error placing F16 into F32. Fixes an error disallowing vectors of fp16 types. Change-Id: I34be1aa9a323d61a7121581ab9599d2c2d32dd42
* | Merge "Elaborate on description of ScriptGroup.execute" into mnc-devYang Ni2015-05-121-2/+4
|\ \
| * | Elaborate on description of ScriptGroup.executeYang Ni2015-05-121-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | b/21039492 ScriptGroup.execute(Object...): Describe input and output order. Change-Id: I88668338ab2ac50e602b97891b86509c81dedf4d
* | | Merge "Fix API name based on API review" into mnc-devJason Sams2015-05-121-3/+3
|\ \ \ | |/ / |/| / | |/
| * Fix API name based on API reviewJason Sams2015-05-121-3/+3
| | | | | | | | | | | | | | | | rename getMinorID to getMinorVersion bug 21039492 Change-Id: I03908dba508e30a605818d81a085ad627fa202fb
* | Merge "[RenderScript] hide Allocation.copyToFieldPacker()" into mnc-devMiao Wang2015-05-111-0/+2
|\ \
| * | [RenderScript] hide Allocation.copyToFieldPacker()Miao Wang2015-05-111-0/+2
| |/ | | | | | | | | | | bug: 21027883 Change-Id: I122392bc5206ff19ea52712576d7f363e5915231
* | [RenderScript] (minor) fix validation of L3 BLASMiao Wang2015-05-111-8/+2
|/ | | | | | bug: 21028875 Change-Id: I9fd48c57b6518e06ee1d9d7d4ca44faa96d887b0
* Fix Allocation-less launchesJason Sams2015-05-051-2/+2
| | | | | | | | | | 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-041-3/+15
| | | | | | | | | | 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
* [RenderScript] fix edges cases about Transpose for SYMM & SYR2KMiao Wang2015-04-301-6/+6
| | | | Change-Id: Id86d5fe8475060a22f49b06b6e1f8f3eae7c7e9f
* [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
* [RenderScript] Enable L2 BLAS APIsMiao Wang2015-04-231-66/+66
| | | | Change-Id: I484a185a79190da365ac832b90bb3bedb8bbca48
* [RenderScript] improve & minor fixes of L2 BLAS validation.Miao Wang2015-04-231-42/+82
| | | | Change-Id: If8dd0f9d4c7db03df22763a80fa6d600539be7c1
* [RenderScript] Fix HEMM and SYRK in IntrinscBLAS to correctly handleMiao Wang2015-04-221-8/+8
| | | | | | complex 'Alpha' and 'Beta' Change-Id: I0aed57d41b0199d5c6dd3c31ca33644a5634dc35
* 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
* 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-152-0/+32
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit '3d9c9093d1d76d4aeb5f99b1746b65788c72736e': Add BNNM intrinsic.
| * | Merge "Add BNNM intrinsic."Tim Murray2015-04-152-0/+32
| |\ \ | | |/ | |/|
| | * Add BNNM intrinsic.Tim Murray2015-04-142-0/+32
| | | | | | | | | | | | Change-Id: I05fc9835786455e28d69f2b4ffe70c3292a01404
* | | am 09339053: am 6ca1e45a: am 8704ae46: Merge "Add name to ↵Yang Ni2015-04-142-6/+10
|\ \ \ | |/ / | | | | | | | | | | | | | | | ScriptGroup2.Builder.create() method" * commit '0933905375790eb850334b53fd6d0981bd40e007': Add name to ScriptGroup2.Builder.create() method
| * | Add name to ScriptGroup2.Builder.create() methodYang Ni2015-04-132-6/+10
| | | | | | | | | | | | | | | | | | | | | 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
* | am 72fcf9eb: am af61d43d: am 6d718c2f: Merge "Add support for setting the ↵Tim Murray2015-04-101-0/+14
|\ \ | |/ | | | | | | | | | | cache directory." * commit '72fcf9eb1079312afd7bdbee167c759109af4244': Add support for setting the cache directory.
| * Add support for setting the cache directory.Tim Murray2015-04-091-0/+14
| | | | | | | | 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
| |\ \
| | * | Fix minor blur doc bugJason Sams2015-04-021-1/+1
| | | | | | | | | | | | | | | | Change-Id: I4c129d9d3c93d8a36c887e5c594b4402aca5745e
* | | | am 249968b4: am 6bef5eb4: am 6422ee71: Merge "Rewrote ↵Yang Ni2015-04-072-165/+62
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | FieldPack::createFieldPack for alignment" * commit '249968b421a8dcfe5a26ec7f524e76295ec5eef5': Rewrote FieldPack::createFieldPack for alignment
| * | Rewrote FieldPack::createFieldPack for alignmentYang Ni2015-04-062-165/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/20032217 Some data types requires data alignment. This has an impact on the total data size for the FieldPack. Fixed createFiledPack() implementation to handle this correctly. Change-Id: I241da19df69bf51cfdaf3b3a1381b446eaacb7fb
* | | am 1327fa9e: am 511eb660: am 6aed9ec1: Merge "[RenderScript] update ↵Miao Wang2015-04-031-4/+11
|\ \ \ | |/ / | | | | | | | | | | | | | | | exception reporting for copyTo() after autoPadding added." * commit '1327fa9eb155eb57fe24a8aa90a18f57d706e86b': [RenderScript] update exception reporting for copyTo() after autoPadding added.
| * | [RenderScript] update exception reporting for copyTo() afterMiao Wang2015-04-031-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | autoPadding added. - This CL fixes recent CTS failures about copyPadded after lmp-mr1-dev changes pushed to aosp. Change-Id: Ica1f4fd934cd83ca4357ea7e7c82dcc7f844b689