clEnqueueNDRangeKernel() returns with error code "-54"

Hello
I got clEnqueueNDRangeKernel() returns with error code “-54” after I try to run program but I dont know what this error code means. I have seen it on forums that all error codes are written in “CL/cl.h” file but I couldnt find this file in my AMD SDK installation. Can someone help me what error code “-54” means, and whats default location of “cl.h” file? Thanks

my cl.h says:

#define CL_INVALID_WORK_GROUP_SIZE -54

I’m using xcode so I don’t know where AMD’s SDK puts it…

Me, I just pass in NULL and let the implementation choose a workgroup size…

ok thank you :slight_smile: