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/rsScriptIntrinsic.h b/rsScriptIntrinsic.h
index fd48bdf..e2b04b8 100644
--- a/rsScriptIntrinsic.h
+++ b/rsScriptIntrinsic.h
@@ -52,6 +52,10 @@
     void runReduce(Context *rsc, uint32_t slot, const Allocation *ain,
                    Allocation *aout, const RsScriptCall *sc) override;
 
+    void runReduceNew(Context *rsc, uint32_t slot,
+                      const Allocation ** ains, size_t inLen,
+                      Allocation *aout, const RsScriptCall *sc) override;
+
     void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) override;
     void setupScript(Context *rsc) override;
     uint32_t run(Context *) override;