Adds support for multi-input kernels to Frameworks/Base/RS.

* Added a new JNI call to pass arrays of Allocations to the RS runtime.
* Added a new version of ForEach that takes an array of Allocations.
* Added some casts to disambiguate existing calls to forEach.

Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
This commit is contained in:
Chris Wailes
2014-06-11 12:01:28 -07:00
parent ef2e76675a
commit 949610653f
8 changed files with 173 additions and 10 deletions

View File

@@ -109,7 +109,7 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic {
* type.
*/
public void forEach(Allocation aout) {
forEach(0, null, aout, null);
forEach(0, (Allocation) null, aout, null);
}
/**
@@ -130,4 +130,3 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic {
return createFieldID(1, null);
}
}