PDA

View Full Version : clEnqueueWriteBuffer crash with error -38



perlish
08-27-2012, 05:42 AM
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?

ffelagund
08-27-2012, 05:58 AM
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?

perlish
08-27-2012, 06:32 AM
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.

ffelagund
08-27-2012, 06:37 AM
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?

perlish
08-30-2012, 04:15 AM
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