mRS = rs;
mScript = new ScriptC_mandelbrot(mRS);
Type.Builder tb = new Type.Builder(rs, Element.U8_4(rs));
tb.setX(mScript.get_gDimX());
tb.setY(mScript.get_gDimY());
mAllocationXY = Allocation.createTyped(rs, tb.create());
Methods Summary
public void
run()
long t = java.lang.System.currentTimeMillis();
mScript.forEach_root(mAllocationXY);
mRS.finish();
t = java.lang.System.currentTimeMillis() - t;
android.util.Log.v("ComputePerf", "mandelbrot ms " + t);