summaryrefslogtreecommitdiff
path: root/rsScriptIntrinsic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Delete simple reduction implementation.David Gross2016-06-101-6/+2
| | | | | Bug: 27298560 Change-Id: I8c3d568e98aaf0b7d86881c985d13ed5b8e95338
* Support for general reduction kernels.David Gross2016-01-191-0/+4
| | | | | | | | | | | | | | Requires coordinated change in frameworks/base. Requires coordinated change in frameworks/compile/libbcc in order for RsTest to run. At present, general reduction kernels are run single-threaded. Also: Remove dead struct field MTLaunchStructForEach::sig. Bug: 23535724 Change-Id: Ice17ccf20a902f8a106eaa62ec071d46e3c0ad8c
* Add a basic implementation of the reduce kernel API to the CPUMatt Wala2015-08-141-0/+5
| | | | | | | | | | reference implementation. Bug: 22631253 For now, this just runs a serial reduction on one thread. Change-Id: I34c96d24bb6f44274de72bb53160abcf79d143b0
* Cleanup of ForEachParams in cpu refJason Sams2015-01-201-12/+2
| | | | Change-Id: I8cc51915b2a605c240d98e3010619b741a13bae2
* Replace NULL macros with nullptr literals.Chris Wailes2014-08-201-2/+2
| | | | Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
* Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-151-15/+12
| | | | | | | | | | | This patch simplifies the RenderScript driver and CPU reference implementation by removing the distinction between sing- and multi-input kernels in many places. The distinction is maintained in some places due to the need to maintain backwards compatibility. This permits the deletion of some functions and struct members that are no longer needed. Several related functions were also cleaned up. Change-Id: Id70a223ea5e3aa2b0b935b2b7f9af933339ae8a4
* Revert "Collapse code paths for single- and multi-input kernels."Stephen Hines2014-08-131-12/+15
| | | | | | This reverts commit 818cfa034e257c7bb48356257f5cb67334e19aa6. Change-Id: I59f39f52e6c8f60bb01cbcb8ccf2215eaf46a57f
* Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-121-15/+12
| | | | | | | | | | | This patch simplifies the RenderScript driver and CPU reference implementation by removing the distinction between sing- and multi-input kernels in many places. The distinction is maintained in some places due to the need to maintain backwards compatibility. This permits the deletion of some functions and struct members that are no longer needed. Several related functions were also cleaned up. Change-Id: I77e4b155cc7ca1581b05bf901c70ae53a9ff0b12
* Adds support for multi-input kernels to Frameworks/RS.Chris Wailes2014-07-081-0/+12
| | | | | | | | | | | | | This patch modifies Frameworks/RS in the following ways: * Adjusted the data-layout of the C/C++ version of RsForEachStubParamStruct to accommodate a pointer to an array of input allocations and a pointer to an array of stride sizes for each of these allocatoins. * Adds a new code path for Java code to pass multiple allocations to a RS kernel. * Packs base pointers and step values for multi-input kernels into the new RsForEachStubParamStruct members. Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
* Fix crash running blur on 4K imagesJason Sams2013-11-251-0/+4
| | | | | | | | | | | bug 11258120 The temporary buffer could be misaligned due to realloc only aligning to 8 bytes. Fix issues with with Histogram and 2/3 vector sizes. Change-Id: I271f4635ead5ff0a7e7f89bb5cfcbc2bba626e22
* Fix ref counting bug.Jason Sams2013-02-221-1/+1
| | | | Change-Id: I3eeb1c184c5c7d7acf5e0730ec8aa9019c62426b
* Generalize intrinsicsJason Sams2012-08-211-0/+4
| | | | Change-Id: Ib11dec1702eab8c24f76d2b3a5b0791ab27205fc
* Clean up useless code, logging, and a typo.Stephen Hines2012-08-211-2/+2
| | | | Change-Id: I8c2296e7f60037907a969bcaf1746644e32868c3
* IntrinisicsJason Sams2012-08-141-0/+91
Change-Id: I1ce02ecd853382a2c92823b021750b93f1786ccf