opebCL 1.1 printf

opebCL 1.1 printf

Hi I construct kernel from the string

const char *source[] = {

"#pragma OPENCL EXTENSION cl_intel_printf : enable\\n",

"__kernel void ", testname,

"()\\n",

"{\\n",

" printf(\\"",

""%d,"\\\\n\\",",

"2",");",

"}\\n"

};
But I get error: can't enable all OpenCL extensions or unrecognized OpenCL extension
I took the last ocl 1.1 version from the intel site.
How can I solve this issue?
Thanks

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,
I use
#pragma OPENCL EXTENSION all : enable
and the printing to console window works fine for me (Core i5) with last version of the SDK.

Hi Jiri,

Thank you for the post - we will have a look at this item
Could you provide the OS your were using?

Thanks,
Boaz

Leave a Comment

Please sign in to add a comment. Not a member? Join today