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

Many flow control statements required

Altera_Forum
Honored Contributor II
995 Views

I have to map the OpenCL application with a lot of flow control statements, it works well on GPU. However, it incurs deadlock on FPGA.  

 

What is the difference? What should I do? What should I read? Merry Christmas.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
297 Views

Without seeing the code I'm not sure we'll be much help. Make sure you don't have any barriers or fences inside a conditional statement. The scheduling of work-items on an FPGA can vary with respect to a GPU so perhaps there is a hazard not being addressed in the kernel.

0 Kudos
Reply