OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.

printf on HD4000 ?

Mohamed_Amine_BERGAC
370 Views

Can we use printf function with the GPU HD4000 ? or, is there is a solution to bypass this limitation ?

it's for debugging , have you any better solution ?

THX,

Mohamed

0 Kudos
3 Replies
Raghupathi_M_Intel
370 Views
printf on GPU is not supported on HD4000. One way to debug is to write intermediate values to a debug buffer and read it back on the host. You can them compare the result with that you got on the CPU. Sorry there is no easy way currently. Thanks, Raghu
0 Kudos
Mohamed_Amine_BERGAC
370 Views
Thank you, Mohamed
0 Kudos
Biao_W_
Beginner
370 Views

what about he current status of printf support on HD4000, as in OpenCL 1.2 printf is built in function.

Thanks

0 Kudos
Reply