JOCL icon indicating copy to clipboard operation
JOCL copied to clipboard

Please provide an example on how to correctly call a kernel multiple times so memory is not copied all the time

Open stepan-romankov opened this issue 8 years ago • 1 comments

stepan-romankov avatar Oct 31 '16 12:10 stepan-romankov

Can you elaborate this?

You can call clEnqueueNDRangeKernel multiple times, of course. (It will always do the same thing, unless you set different kernel arguments, or unless you read or write memory between the calls, but that should be clear).

Which memory are you referring to here?

gpu avatar Nov 02 '16 13:11 gpu