You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: