Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stepan-romankov opened this issue Oct 31, 2016 · 1 comment

Comments

@stepan-romankov
Copy link

No description provided.

@gpu
Copy link
Owner

gpu commented Nov 2, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants