Miao Wang
7787760961
Merge "[RenderScript] fix Allocation.copyToFieldPacker"
2015-05-19 16:45:13 +00:00
Miao Wang
bfa5e659e7
[RenderScript] fix Allocation.copyToFieldPacker
...
Change-Id: Iaba3333f9741238745fdb5c94f1b27b1015d50b2
2015-05-11 15:49:18 -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
e8cb7b32ac
[RenderScript] typo fix in rs BLAS jni, to correctly handle complex
...
params.
Change-Id: Ie44f430dc7ed4155f40aa9f9c2864fb0429c97fe
2015-05-07 15:50:07 -07:00
Yang Ni
7b2a46fee0
Moved limit constants for kernel and script group
...
b/20728113
so that we can share them with support lib.
Change-Id: I231c0d20c41ee53342d8a975c2db5a31854b9d40
2015-05-06 15:43:46 -07:00
Jason Sams
d5c780a787
Merge "Fix Allocation-less launches"
2015-05-05 21:57:27 +00:00
Yang Ni
4e90b9b57c
Sanity checks in JNI code for closure creation
...
b/20728113
In case the requested size for memory allocation overflows, or memory
allocation fails.
Change-Id: I8dac132dd4d0210938660ffbb82cbe44000d2a90
2015-05-01 14:39:02 -07:00
Jason Sams
bc5c64b725
Fix Allocation-less launches
...
Change-Id: Ic4c6644072a11aab9a273070be5734519136f685
2015-04-16 15:13:52 -07:00
Tim Murray
7f72f74766
Merge "Add BNNM intrinsic."
2015-04-15 22:30:14 +00:00
Tim Murray
9cb16a2f91
Add BNNM intrinsic.
...
Change-Id: I05fc9835786455e28d69f2b4ffe70c3292a01404
2015-04-14 15:10:19 -07:00
Yang Ni
35be56cce8
Add name to ScriptGroup2.Builder.create() method
...
This name will be used to name the .so file generated for the
script group with fused kernels.
Change-Id: I46e351c8412740512f56b7915b14f36183c6eeaf
2015-04-13 17:24:44 -07:00
Tim Murray
47f31582b6
Add support for setting the cache directory.
...
Change-Id: I2bf1874705b877a8a8262ab49b47fe8241e603d5
2015-04-09 17:50:39 -07:00
Yang Ni
4c93c8c93a
Fix value size data type in closure creation.
...
b/19944127
Also added references to arguments and global values in a closure to
keep them live in Java while native code may access them.
Change-Id: I1179d34aa67f845578740e71cc2da4f82419f251
2015-03-30 10:45:34 -07:00
Miao Wang
919b6475d3
[RenderScript] Remove duplicate include in jni
...
Change-Id: Ib6019ab22a83d952dce3fd6f5351120d94b49d58
2015-03-18 19:16:47 -07:00
Jason Sams
a7e2509d8d
Remove dead path code
...
This API was never shipped and the implementation
never finished.
Change-Id: I2491db216d6a7a8ea30628d791773f89da5fb4d2
2015-03-11 11:00:00 -07:00
Miao Wang
45cec0a971
[RenderScript] Update the java API about Allocation copyTo & From FieldPacker
...
Change-Id: I4e1b911d4cdfec8a841bc5a8bc615c64c50e8fc8
2015-03-05 16:52:05 -08:00
Miao Wang
2cd0c340fc
[RenderScript] Add missing variable
...
Change-Id: I148bab3a8c3fb360d345549401d0ed579a37e971
2015-03-05 16:27:15 -08:00
Miao Wang
87e908dfde
[RenderScript] AutoPadding & Unpadding for Vec3 Elements during
...
copyTo & copyFrom.
Change-Id: I10b6fb235717e181ebb30b92e4dbe23e6183a29c
2015-03-04 15:50:11 -08:00
Miao Wang
c8e237e271
[Renderscript] JAVA API update for Allocation.CopyTo
...
add the following functions to make it more symmetric to copyFrom().
- copy1DRangeToUnchecked, copy1DRangeTo
- copy2DRangeToUnchecked, copy2DRangeTo
- copy3DRangeToUnchecked, copy3DRangeTo
- setFromFieldPacker, 2D and 3D variants
- copyElementTo, (1D, 2D & 3D)
Change-Id: I6b896123e1c00cead552aa5b31a701b15dd70f85
2015-02-25 16:41:09 -08:00
Tim Murray
25207df658
Add BLAS intrinsic.
...
Change-Id: I95ddc46cb3f6217d2ead1091fd47450389544324
2015-02-17 13:10:25 -08:00
Jason Sams
2a3cdf57a4
Merge "Implement array types"
2015-02-09 22:58:13 +00:00
Jason Sams
46ba27e3fd
Implement array types
...
Change-Id: I1b83f21ea2aeaa4b9f5934aadcb69d4a1c1fea20
2015-02-06 17:45:15 -08:00
Elliott Hughes
7ff53fa0d4
Fix clang build.
...
Change-Id: If795820ef6431fee9c9c3862cc91ad4a9cc04507
2015-02-05 21:36:10 -08:00
Yang Ni
be392ad35e
Adds invocable functions to ScriptGroup
...
This also includes InvokeID support
Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
2015-02-04 16:24:48 -08:00
Yang Ni
ebf63408d2
Pass in code cache directory when creating a script group.
...
Change-Id: Ia73ea917a126a5055ec97f13d90a5feaafd6a2f5
2015-01-29 08:46:46 -08:00
Jason Sams
14331ab1c3
Initialize clipping structure
...
placeholder until array clipping is added to the API.
Change-Id: Ib20dbd71989c559c0669385a5088ec261596913c
2015-01-26 18:15:05 -08:00
Yang Ni
281c325251
New Script Group API.
...
Change-Id: I73d3572276a38dac775025b472ba229ad8770c84
2015-01-07 15:07:16 -08:00
Jason Sams
81cd2b18bd
Fix bug in passing of context flags and version.
...
Change-Id: Id20906f6f47b573d881025453a3b6356bcf6e9c7
2014-12-02 12:37:04 -08:00
Bernhard Rosenkränzer
09993f768b
Fix format strings mismatching the parameters passed to them
...
Change-Id: Ia0d33aec9edadac60508fb422e0821e6d8f28afa
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-11-20 15:24:46 -08:00
Andreas Gampe
67333928bf
Frameworks/base: Wall Werror in rs
...
Turn on -Wall -Werror in rs/. Fix warnings.
Change-Id: I41923e4578edf26dbf6a31a83b6999e80d6d385a
2014-11-10 20:35:59 -08:00
Stephen Hines
4a043c1853
resolved conflicts for merge of 5a2d0432 to lmp-dev-plus-aosp
...
Change-Id: I59be35e67ab2b4709f27c39916b6aebc1abba56f
2014-08-21 23:20:32 -07:00
Tim Murray
053e36dfa3
am c9c78206: am 9ba9298e: Merge "Stop sign-extending RS IDs." into lmp-dev
...
* commit 'c9c7820604158bc6c6ba0e413cc48c8e1c0a6366':
Stop sign-extending RS IDs.
2014-08-19 21:07:47 +00:00
Tim Murray
3aa89c1e24
Stop sign-extending RS IDs.
...
bug 16846318
bug 17006933
Change-Id: I6b1e73ed983ec583e80dc532e38c2ae2e504e608
2014-08-18 18:14:54 -07:00
Chris Wailes
488230c3fe
Replace NULL macros with nullptr literals.
...
Change-Id: I6c2af76f1f134d3f233d5462fed3969910ae2f24
2014-08-18 15:21:16 -07:00
Stephen Hines
93697c5f8e
am 4ae9a6d5: am 42895561: Merge "Collapse code paths for single- and multi-input kernels."
...
* commit '4ae9a6d5c517f67d9929cc43568c6b7e3b4dfe23':
Collapse code paths for single- and multi-input kernels.
2014-08-18 20:00:34 +00:00
Chris Wailes
be7b1defb6
Collapse code paths for single- and multi-input kernels.
...
This patch simplifies the RenderScript JNI layer by replacing six functions
with a single funciton. This new function now handles all previous cases.
Functions in android.renderscript.script have been updated to use this new JNI
function.
Change-Id: I6cd5448534c38123d51a589339bbeb7e98453e73
2014-08-18 08:03:52 -07:00
Stephen Hines
42a33d5bbf
am b75dc06b: am 4179e889: Merge "Revert "Collapse code paths for single- and multi-input kernels.""
...
* commit 'b75dc06bbe2fdff1a4c9baa69eb92a849c22715d':
Revert "Collapse code paths for single- and multi-input kernels."
2014-08-13 17:43:00 +00:00
Stephen Hines
c27ebda05e
am 5aaeb8e8: am 24a2ee66: Merge "Collapse code paths for single- and multi-input kernels."
...
* commit '5aaeb8e89eb0afd710ba9586f5e314b76e806116':
Collapse code paths for single- and multi-input kernels.
2014-08-13 17:34:59 +00:00
Stephen Hines
c9c7daf69b
Revert "Collapse code paths for single- and multi-input kernels."
...
This reverts commit eb3470219dea322efa93eb4b5457813ce71d0c5d.
Change-Id: Id943abf953e832ef831318e6699d4b46e9b46201
2014-08-13 17:32:19 +00:00
Chris Wailes
eb3470219d
Collapse code paths for single- and multi-input kernels.
...
This patch simplifies the RenderScript JNI layer by replacing six functions
with a single funciton. This new function now handles all previous cases.
Functions in android.renderscript.script have been updated to use this new JNI
function.
Change-Id: I77e4b155cc7ca1581b05bf901c70ae53a9ff0b12
2014-08-07 14:57:22 -07:00
Chris Wailes
949610653f
Adds support for multi-input kernels to Frameworks/Base/RS.
...
* Added a new JNI call to pass arrays of Allocations to the RS runtime.
* Added a new version of ForEach that takes an array of Allocations.
* Added some casts to disambiguate existing calls to forEach.
Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
2014-07-07 12:27:21 -07:00
Stephen Hines
48ba506dfa
resolved conflicts for merge of 31012e2c to master
...
Change-Id: I2e24e0457570d7d856293637a553f0242a97a83b
2014-07-09 07:39:38 -07:00
Stephen Hines
bc5d3eeedc
Switch from size_t -> uint32_t for dimensions array.
...
Change-Id: I159586e98dd47be9b9f5db0f3e27d1072533134c
2014-06-25 00:03:39 -07:00
Stephen Hines
ed38a32d37
am af97f87a: am 6d38cec1: am 924ed1fa: Merge "Switch from size_t -> uint32_t for dimensions array."
...
* commit 'af97f87a477efa05905134baa01bc6b5222b2448':
Switch from size_t -> uint32_t for dimensions array.
2014-06-25 20:58:34 +00:00
Tim Murray
56f9e6f8d5
Add support for mixed 32/64 APKs using RenderScript.
...
Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
2014-06-03 15:11:37 -07:00
Tim Murray
1afc29ae38
Merge "Add support for mixed 32/64 APKs using RenderScript."
2014-06-03 21:36:19 +00:00
Tim Murray
f0c62b2676
Add support for mixed 32/64 APKs using RenderScript.
...
Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
2014-06-03 12:30:53 -07:00
Ying Wang
29894c6176
am db55bb06: am 4463cbc6: am 3b9600b6: Merge "Remove unused LOCAL_LDLIBS."
...
* commit 'db55bb0622e9fbe4b858d59409f516de01c1f1fd':
Remove unused LOCAL_LDLIBS.
2014-05-08 18:31:18 +00:00