Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17252 Discussions

Is there any way to enforce the printf() output order?

Altera_Forum
Honored Contributor II
975 Views

Hi all, 

I find in Altera Opencl the printf() can be used directly in kernel codes but the output order is not guaranteed when multiple work-items are executed simultaneously. 

So is there any way to enforce the output order? Or is there any way to get a global timer/cycle inside the kernel codes to indicate the activity cycle by cycle? 

 

Thanks.
0 Kudos
0 Replies
Reply