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
链接已复制
2 回复数
