Hi everyone,

I'm having some trouble with the following function :
Code :
errNum = clEnqueueNDRangeKernel(commandQueue,kernel,1,NULL,globalWorkSize,localWorkSize,0,NULL,NULL);
    printf("errNum = %d\n",errNum);

As you can see, I get the error code -52.

It seems that each error code has a meaning ( CL_INVALID_MEM_OBJECT, CL_INVALID_PROGRAM and so far and so on)

Is there a way to associate my -52 error to a meaning?
for instance : -52 <=> CL_INVALID_BINARY

I thank you beforehand for your answers

Regards,

Elrachal