> Including a standard or system header isn't allowed in OpenCL. I’m not sure this is correct. Could you point me to the specific text that states this? In the OpenCL 1.2 spec I can only find is 6.9.f which does not mention stddef.h. Thanks, Jeroen