Hi Everyone,

I got a problem with :
Code :
size_t globalWorkSize[1] = {11};
 size_t localWorkSize[1] = {1};
errNum = clEnqueueNDRangeKernel( commandQueue,kernel,1,NULL, globalWorkSize,localWorkSize,0,NULL,NULL);

It returns the error : -52.
commandQueue exists, kernel too GlobalWorkSize/localWorkSize is an integer.
I really don't see where does the mistake comes from.

If someone got an idea, he is welcome



__________________________________________________ ______________________
Edit : I found what error - 52 means : CL_INVALID_KERNEL_ARGS Kernel arguments have not been set.