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 /cpu_ref/rsd_cpu.h | |
parent | 46c93e405b0ad7e8fca12d0b1f9eac3997798e45 (diff) | |
download | rs-6c1876bbef1b2c89975dce91230a168bd2d2ce4c.tar.gz |
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 'cpu_ref/rsd_cpu.h')
-rw-r--r-- | cpu_ref/rsd_cpu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpu_ref/rsd_cpu.h b/cpu_ref/rsd_cpu.h index f2c7f19a..49a999db 100644 --- a/cpu_ref/rsd_cpu.h +++ b/cpu_ref/rsd_cpu.h @@ -63,6 +63,11 @@ public: Allocation *aout, const RsScriptCall *sc) = 0; + virtual void invokeReduceNew(uint32_t slot, + const Allocation ** ains, uint32_t inLen, + Allocation *aout, + const RsScriptCall *sc) = 0; + virtual void invokeInit() = 0; virtual void invokeFreeChildren() = 0; |