mRS = rs;
mScript = new ScriptC_launchtest(mRS);
final int dim = mScript.get_dim();
mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim);
Type.Builder tb = new Type.Builder(rs, Element.U8(rs));
tb.setX(dim);
tb.setY(dim);
mAllocationXY = Allocation.createTyped(rs, tb.create());
mScript.set_gBuf(mAllocationXY);