Since moving to SDK 2.1, I've noticed that printf no longer works. From searching, it seems that plain old printf is no longer supported and that cl_amd_printf has been commissioned to replace it. The issue I'm having is that when I try to use it, the OpenCL program compiles but comes back with the warning, unrecognized extension and nothing prints.
I've tried adding "#pragma OPENCL EXTENSION cl_amd_printf : enable" to both my .cl and main.cpp files and neither helps.
Is there any documentation on this extension because I couldn't seem to find any? Are there any restrictions as to format (provided it is different than the standard printf)? I should also note that I've been running the code on an Intel CPU, if it makes a difference.
Because of this, I've had to revert back to 2.01 for debugging, which is a lot of trouble for such a small change.