330 Commits

Author SHA1 Message Date
Miao Wang
c02720316d resolved conflicts for merge of a1867fb0 to mnc-dev-plus-aosp
Change-Id: Id0266c63c98b4cb37f49eb2e0fb9a98cbc7ee1de
2015-06-30 23:35:23 -07:00
Miao Wang
2514806817 [RenderScript] update the type of offsets for BLAS.BNNM
bug: 22184114

Change-Id: I7e7132aa3563f32de32640567b381f8f5bddf491
(cherry picked from commit 6099ee6e081904e73e0fad331e326b0607b6b1dc)
2015-06-30 22:29:47 -07:00
John Hoford
d6ae785292 am 3791d011: am 6463dd52: Merge "add comment about xor not being porter/duff Bug: 21934855"
* commit '3791d0112ef38c95b8de8b73c5a1f5b074e6e6e9':
  add comment about xor not being porter/duff Bug: 21934855
2015-06-30 22:59:18 +00:00
John Hoford
6ba4cb7773 add comment about xor not being porter/duff
Bug: 21934855

Change-Id: I99394bd8a7a40a220c05118564b532f2533da38a
2015-06-30 19:53:41 +00:00
Yang Ni
3020953243 Add Java doc comments on script group name reuse
b/21999787

Change-Id: Id9a7bad4ce91f3afdd82a1288cf94430f3aef9bb
(cherry picked from commit dbb6fd58a4b113f8761ce825ad5b91e50c170971)
2015-06-29 15:38:25 -07:00
Yang Ni
524d9b663d am f7e55607: am fd5ec27b: Merge "Add Java doc comments on script group name reuse" into mnc-dev
* commit 'f7e5560703aa1e71f1e7603dfcd4f855a0377b31':
  Add Java doc comments on script group name reuse
2015-06-29 21:23:18 +00:00
Yang Ni
dbb6fd58a4 Add Java doc comments on script group name reuse
b/21999787

Change-Id: Id9a7bad4ce91f3afdd82a1288cf94430f3aef9bb
2015-06-28 16:09:57 -07:00
Miao Wang
1db4e1a1cb am 1fff1371: am df584d34: Merge "[RenderScript] Add documentation for IntrinsicBLAS, and @hide annotations." into mnc-dev
* commit '1fff1371b31a0194330a98fe6882471ca61f44eb':
  [RenderScript] Add documentation for IntrinsicBLAS, and @hide annotations.
2015-06-19 21:49:20 +00:00
Miao Wang
df584d34b5 Merge "[RenderScript] Add documentation for IntrinsicBLAS, and @hide annotations." into mnc-dev 2015-06-19 21:19:56 +00:00
Yang Ni
d6909748d3 am 44095579: am 159f442f: Merge "Unpublish methods in class ScriptGroup.Binding" into mnc-dev
* commit '44095579186a59b6856af665a6b30743e35a2b7b':
  Unpublish methods in class ScriptGroup.Binding
2015-06-19 13:56:44 +00:00
Miao Wang
fb675a5396 [RenderScript] Add documentation for IntrinsicBLAS, and @hide
annotations.

bug: 21039492
Change-Id: I50a6beca22c9e524a76925d8e497b2618177491d
2015-06-17 15:17:18 -07:00
Yang Ni
77eba48889 Unpublish methods in class ScriptGroup.Binding
b/21187932

Made it an opaque class, since there is no need for a user to
inspect its fields after creation.

Change-Id: I9101afdecc5e25bb484d060be2a08c470faa92e5
2015-06-17 15:06:30 -07:00
Yang Ni
d9f5f0269d Fixed ScriptGroup for outputs to globals
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
(cherry picked from commit 85858718c0fc8f4f17ee18e5d62ec0614a8bc780)
2015-06-08 15:08:19 -07:00
Yang Ni
bb068cd513 am ee8e4ede: am 6f4610bd: Merge "Fixed ScriptGroup for outputs to globals" into mnc-dev
* commit 'ee8e4edebacf05cb6ed88f0fa094ad81d440172d':
  Fixed ScriptGroup for outputs to globals
2015-06-05 23:07:17 +00:00
Yang Ni
6f4610bdad Merge "Fixed ScriptGroup for outputs to globals" into mnc-dev 2015-06-05 22:43:27 +00:00
Chris Craik
a11ceb9e91 am 5fd0e46d: am 34a63ba4: Merge "Ensure RenderScript tracing is always balanced via try/finally"
* commit '5fd0e46d242f718de629ec07cf540fa24b4a72ec':
  Ensure RenderScript tracing is always balanced via try/finally
2015-06-04 19:00:29 +00:00
Chris Craik
06d2984871 Ensure RenderScript tracing is always balanced via try/finally
bug:21560057

Change-Id: I6709b81636822135848c10adca8ba425f3c2212e
2015-06-04 10:02:18 -07:00
Chris Craik
f77facd0b9 Fix RenderScript copy tracing sections
bug:21560057

Change-Id: I3b44d04bd908d9549ef7ada5f48f5d94e239d186
2015-06-04 09:50:15 -07:00
Chris Craik
397ef9a4ba Ensure RenderScript tracing is always balanced via try/finally
bug:21560057

Change-Id: I6709b81636822135848c10adca8ba425f3c2212e
2015-06-02 17:24:15 -07:00
Chris Craik
48b0104374 am e63136a3: am 8c1e287b: Merge "Fix RenderScript copy tracing sections" into mnc-dev
* commit 'e63136a36ec6e5f22d53654c85b8b3eb0b19cb27':
  Fix RenderScript copy tracing sections
2015-06-01 23:21:50 +00:00
Chris Craik
5c705d63d7 Fix RenderScript copy tracing sections
bug:21560057

Change-Id: I3b44d04bd908d9549ef7ada5f48f5d94e239d186
2015-06-01 10:59:35 -07:00
Stephen Hines
8bd4d77dc4 am 95e31ac8: am 3385b616: Merge "Added in flag to ask context to wait for debugger attach."
* commit '95e31ac85d4ba0b7dfb087f8bc0a10e4065ca8cd':
  Added in flag to ask context to wait for debugger attach.
2015-05-21 16:50:01 +00:00
Stephen Hines
3385b6169f Merge "Added in flag to ask context to wait for debugger attach." 2015-05-21 16:23:37 +00:00
Miao Wang
8374e25a9e am 77877609: Merge "[RenderScript] fix Allocation.copyToFieldPacker"
* commit '7787760961703239763afad9639517ce02259090':
  [RenderScript] fix Allocation.copyToFieldPacker
2015-05-19 21:17:28 +00:00
Miao Wang
7787760961 Merge "[RenderScript] fix Allocation.copyToFieldPacker" 2015-05-19 16:45:13 +00:00
Yang Ni
870767eb95 Fixed ScriptGroup for outputs to globals
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
2015-05-18 17:17:56 -07:00
Miao Wang
39a0b22cf8 Merge "[RenderScript] Add dummy getMinorID to maintain compatible with old RS compat lib." into mnc-dev 2015-05-14 22:22:07 +00:00
Miao Wang
f9d518a2af [RenderScript] Add dummy getMinorID to maintain compatible with old RS
compat lib.

bug: 21132592
Change-Id: I375f188dfbd33367a9589533aa51b182fda8bc21
2015-05-14 15:11:52 -07:00
Jason Sams
f061653202 Merge "Fix issues found during CTS testing of FP16" into mnc-dev 2015-05-14 20:15:40 +00:00
Stephen McGroarty
62cb9bdc9d Added in flag to ask context to wait for debugger attach.
Adds in flag CREATE_FLAG_WAIT_FOR_ATTACH with value 0x0008 to the RenderScript API
to be passed down to the C++ implementation to tell it to wait for a debugger to be
attached before executing the kernel.

Change-Id: Ibc4e903efbed1b1fb14cf378d1a8517d5c8d1f26
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
2015-05-14 18:01:01 +01:00
Jason Sams
54371b4b09 Fix issues found during CTS testing of FP16
bug 20822382

This corrects a copy&paste error placing F16 into F32.
Fixes an error disallowing vectors of fp16 types.

Change-Id: I34be1aa9a323d61a7121581ab9599d2c2d32dd42
2015-05-13 17:02:36 -07:00
Jason Sams
6faa4d20c5 Fix issues found during CTS testing of FP16
bug 20822382

This corrects a copy&paste error placing F16 into F32.
Fixes an error disallowing vectors of fp16 types.

Change-Id: I34be1aa9a323d61a7121581ab9599d2c2d32dd42
2015-05-13 13:21:30 -07:00
Yang Ni
20e16f4f76 Merge "Elaborate on description of ScriptGroup.execute" into mnc-dev 2015-05-12 21:25:29 +00:00
Jason Sams
0cf42ffbbe Merge "Fix API name based on API review" into mnc-dev 2015-05-12 21:20:15 +00:00
Jason Sams
f76423062a Fix API name based on API review
rename getMinorID to getMinorVersion

bug 21039492

Change-Id: I03908dba508e30a605818d81a085ad627fa202fb
2015-05-12 14:06:56 -07:00
Yang Ni
4356389606 Elaborate on description of ScriptGroup.execute
b/21039492

ScriptGroup.execute(Object...): Describe input and output order.

Change-Id: I88668338ab2ac50e602b97891b86509c81dedf4d
2015-05-12 13:53:38 -07:00
Miao Wang
bfa5e659e7 [RenderScript] fix Allocation.copyToFieldPacker
Change-Id: Iaba3333f9741238745fdb5c94f1b27b1015d50b2
2015-05-11 15:49:18 -07:00
Yang Ni
552518e3c1 Merge "Moved limit constants for kernel and script group" into mnc-dev 2015-05-11 21:14:32 +00:00
Miao Wang
cb556e0d25 Merge "[RenderScript] hide Allocation.copyToFieldPacker()" into mnc-dev 2015-05-11 21:13:47 +00:00
Miao Wang
5f21193b39 Merge "[RenderScript] (minor) fix validation of L3 BLAS" 2015-05-11 19:20:47 +00:00
Miao Wang
cce01f480f [RenderScript] (minor) fix validation of L3 BLAS
bug: 21028875

Change-Id: I9fd48c57b6518e06ee1d9d7d4ca44faa96d887b0
2015-05-11 12:19:33 -07:00
Miao Wang
50a8ff108f [RenderScript] (minor) fix validation of L3 BLAS
bug: 21028875

Change-Id: I9fd48c57b6518e06ee1d9d7d4ca44faa96d887b0
2015-05-11 12:08:02 -07:00
Miao Wang
3c61327fa9 [RenderScript] hide Allocation.copyToFieldPacker()
bug: 21027883

Change-Id: I122392bc5206ff19ea52712576d7f363e5915231
2015-05-11 11:51:09 -07:00
Yang Ni
9310e3db45 Moved limit constants for kernel and script group
b/20728113

so that we can share them with support lib.

Change-Id: I231c0d20c41ee53342d8a975c2db5a31854b9d40
(cherry picked from commit 7b2a46fee0f95b9ae2485db36e0d279730623c4a)
2015-05-11 11:01:32 -07:00
Chih-Hung Hsieh
af622b1a98 Merge "Fix print format error." 2015-05-08 22:22:23 +00:00
Chih-Hung Hsieh
bce4220c36 Fix print format error.
Change-Id: I284c5e9c44f6dd56a7bb6ff93a1a86cc8f2deefa
2015-05-08 11:05:12 -07:00
Yang Ni
496c07d754 Merge "Moved limit constants for kernel and script group" 2015-05-08 17:41:27 +00:00
Miao Wang
6517eb635a [RenderScript] Make L2 BLAS methods pulic field.
Change-Id: Ia5f6a747c4998203f8155c67111aea70301af24a
2015-05-07 17:56:05 -07:00
Miao Wang
328919aeb5 [RenderScript] typo fix in BLAS, TRMM & TSMM
Change-Id: I78f014a864700369c7ccdfb46a257851a45abd7c
2015-05-07 15:53:30 -07:00
Miao Wang
e8cb7b32ac [RenderScript] typo fix in rs BLAS jni, to correctly handle complex
params.

Change-Id: Ie44f430dc7ed4155f40aa9f9c2864fb0429c97fe
2015-05-07 15:50:07 -07:00