Intel: Are there any restrictions on the use of printf statements in OpenCL™ kernels?

OpenCL

Category: OpenCL™
Tools: Intel® FPGA SDK for OpenCL™
device:-


During kernel execution, printf data is stored in a global printf buffer that is automatically allocated by the Intel FPGA SDK for OpenCL™ Offline Compiler.
The size of this buffer is 64 KB, so the total size of the data arguments in the printf call should not exceed this size.

reference
Intel FPGA SDK for OpenCL Pro Edition - Programming Guide
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf
(Support Statuses of OpenCL 1.2 C Programming Language Features table)



Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.