i have big dataset, so i create opencl context on loop in sixth context it crash with code clEnqueueWriteBuffer -38 i check a lot but got nothing, i also release memory and opencl object
is there any limitation on count of opencl context in specific time?
Sorry for the question, but why do you need so many different opencl contexts? Couldn’t your app work in a single CL context environment?
it have same problem in single context.
Without more info, I can’t say much more, but I’l almost sure you don’t need more than one CL context. Could you provide us more info?
you right, with one context it’s worked