Hello,
I'm using Intel OpenCL SDK 2012 on Linux and I get the following error message when I compile my kernel:
:5:48: warning: OpenCL extension 'cl_intel_printf' is not supported - ignoringThis does not make sense since I can use it and it's working.
In my code I first check for cl_intel_printf with
#if defined cl_intel_printfand then I enable it with
#pragma OPENCL EXTENSION cl_intel_printf : enableThis warning is quite annoying since I want to compile my OpenCL code with
-Werroras a build parameter during development. This obviously does not work since the false warning prevents the code from executing.
I also noticed that
-cl-opt-disableseems to be ignored since the build log contains
Kernel was successfully vectorizedAs far as I understand it vectorization is an optimization step.
How can I get rid of the warning?
Regards
kugeleck

