I'm quite new with opencl, just started looking into it, so my problem might be a bit stupid. However, i've spent some time with it, before asking you .
My task is simple: upload three buffers to kernel and get one output buffer. All three are arrays of structures, Here how it looks code-wise:
After successful kernel execution i get -38 error, which is CL_INVALID_MEM_OBJECT. But what is invalid about my buffer? I honestly have no idea.
Any help will be much appreciated!
I could try to help. Could you please share the code so that I can try to re-create the same issue at my end? Also so that I can see the full definition of your structure.