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
diff --git a/rs.spec b/rs.spec
index 6e2dc4a..45f960c 100644
--- a/rs.spec
+++ b/rs.spec
@@ -407,6 +407,14 @@
param const RsScriptCall * sc
}
+ScriptReduceNew {
+ param RsScript s
+ param uint32_t slot
+ param RsAllocation * ains
+ param RsAllocation aout
+ param const RsScriptCall * sc
+}
+
ScriptSetVarI {
param RsScript s
param uint32_t slot