gpu / JOCL

Java bindings for OpenCL

Home Page:http://www.jocl.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

stepan-romankov opened this issue · comments

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?