In renderscript I call a kernel like this
foo.forEach_bar(out_array);
And transfer parameters to an allocation as follows:
in_array.copyFromUnchecked(array);
I am working an a program in which I call multiple different kernels. Is it possible to overlap data transfer for a kernel with the computation of previous kernel? (i.e., while GPU works an the previous kernel, we manage to transfer the data for the next kernel)