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

Why do I get the error “ Invalid kernel arguments” when using enqueueNDRangeKernel? #72

Open
xmq1996 opened this issue Jun 9, 2020 · 0 comments

Comments

@xmq1996
Copy link

xmq1996 commented Jun 9, 2020

My current algorithm will call the enqueueNDRangeKernel function multiple times each time. Before calling it, I will use enqueueWriteBuffer to modify the value of a parameter. But the problem now is that sometimes when calling enqueueNDRangeKernel, there will be an "Invalid kernel arguments" error. The last occurrence was in the last month. It appeared again yesterday, which is too random. Can someone give me a solution? I checked the relevant information and said that this error is generally because the parameters of kenel are not set, but I checked the enqueueWriteBuffer function and reported no errors.

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

1 participant