summaryrefslogtreecommitdiffstats
path: root/rs
Commit message (Collapse)AuthorAgeFilesLines
* [RenderScript] pass correct length of ains to BLAS functionsMiao Wang2015-10-091-4/+4
| | | | | | bug: 24540091 Change-Id: Ia541bcbee07125c4caf3e0f4863702a3c0b929d5 (cherry picked from commit 0b34f2a3c545cb112a23072c92214e359a8df8c6)
* Safely handle interrupts during Thread.join()Pirama Arumuga Nainar2015-10-081-3/+8
| | | | | | | | | | Bug: 24342101 Interrupt current thread if InterruptedException is received during Thread.join(). Also, log the interruption. Change-Id: I452124915ea3f19610e6d4a3411d741f2f604af2 (cherry picked from commit 83461d73bc50d41f631e1db5c195d12b4eb9e6cf)
* Retry if interrupted before mMessageThread has joinedPirama Arumuga Nainar2015-10-081-3/+10
| | | | | | | | | | | | Bug: 24342101 If interrupted during mMessageThread.join(), retry the join instead of assuming the thread has joined and continuing. Continuing to destroy the context will cause a segfault when the message thread attempts to use the destroyed context. Change-Id: I3213091a0e996449bceb403dffca3063786d5a65 (cherry picked from commit 2f25ce7753f7f1f6a0cc549a0df0082286bd5f85)
* [RenderScript] Add docs advising users about dstAtop bug.Miao Wang2015-07-201-0/+4
| | | | | Bug: 22047392 Change-Id: I736a697276020687c20dff515aabb1be1776f8c0
* fix BNNM docsMiao Wang2015-07-151-1/+1
| | | | | bug: 22507076 Change-Id: I5fdffdde597d97b1dde77574d096b81bff4aa382
* [RenderScript] update the type of offsets for BLAS.BNNMMiao Wang2015-06-302-5/+11
| | | | | | bug: 22184114 Change-Id: I7e7132aa3563f32de32640567b381f8f5bddf491
* Add Java doc comments on script group name reuseYang Ni2015-06-281-0/+2
| | | | | | b/21999787 Change-Id: Id9a7bad4ce91f3afdd82a1288cf94430f3aef9bb
* Merge "[RenderScript] Add documentation for IntrinsicBLAS, and @hide ↵Miao Wang2015-06-191-4/+1733
|\ | | | | | | annotations." into mnc-dev
| * [RenderScript] Add documentation for IntrinsicBLAS, and @hideMiao Wang2015-06-171-4/+1733
| | | | | | | | | | | | | | annotations. bug: 21039492 Change-Id: I50a6beca22c9e524a76925d8e497b2618177491d
* | Unpublish methods in class ScriptGroup.BindingYang Ni2015-06-171-2/+2
|/ | | | | | | | | b/21187932 Made it an opaque class, since there is no need for a user to inspect its fields after creation. Change-Id: I9101afdecc5e25bb484d060be2a08c470faa92e5
* 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 "Moved limit constants for kernel and script group" into mnc-devYang Ni2015-05-111-7/+4
|\ \
| * | Moved limit constants for kernel and script groupYang Ni2015-05-111-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | b/20728113 so that we can share them with support lib. Change-Id: I231c0d20c41ee53342d8a975c2db5a31854b9d40 (cherry picked from commit 7b2a46fee0f95b9ae2485db36e0d279730623c4a)
* | | 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 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