OpenCL-Docs
OpenCL-Docs copied to clipboard
clarify that format must be a string literal in OpenCL_C.txt
The intent behind "resolvable at compile time" is that format cannot be a kernel argument (see https://github.com/KhronosGroup/OpenCL-Docs/issues/1325#issuecomment-268542016)
I think the old text allowed a constant variable containing format, not just a string literal.
That way, we can define these formats at the top and reuse them for multiple printf calls without #define-s.
Added the last commit here by mistake.