diff options
| author | David Gross <dgross@google.com> | 2016-01-15 11:52:14 -0800 |
|---|---|---|
| committer | David Gross <dgross@google.com> | 2016-01-19 09:44:49 -0800 |
| commit | 6c1876bbef1b2c89975dce91230a168bd2d2ce4c (patch) | |
| tree | ddb149e68360d8c039b4d6ec63e19eac0787a38b /rsScriptIntrinsic.cpp | |
| parent | 46c93e405b0ad7e8fca12d0b1f9eac3997798e45 (diff) | |
Support for general reduction kernels.
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
Diffstat (limited to 'rsScriptIntrinsic.cpp')
| -rw-r--r-- | rsScriptIntrinsic.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rsScriptIntrinsic.cpp b/rsScriptIntrinsic.cpp index 223e93bc..6e0f6ae3 100644 --- a/rsScriptIntrinsic.cpp +++ b/rsScriptIntrinsic.cpp @@ -72,6 +72,10 @@ void ScriptIntrinsic::runReduce(Context *rsc, uint32_t slot, const Allocation *a Allocation *aout, const RsScriptCall *sc) { } +void ScriptIntrinsic::runReduceNew(Context *rsc, uint32_t slot, + const Allocation ** ains, size_t inLen, + Allocation *aout, const RsScriptCall *sc) { +} void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { } |
