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

OpenCL application Hangs

Altera_Forum
Honored Contributor II
930 Views

Hi, 

 

I have an OpenCL multithreaded application that is targetted to a GPU.  

I am trying to target this application to the Altera FPGA. 

I could successfully build the host executable and the offline aocx file for the application. 

Upon Execution, I encounter a hang. 

I traced out the place of hang to be before the call to clFlush 

What could be the cause for the hang?  

Does Altera support Multithreading ? 

Or Is clFlush functionality incorporated in Altera's OpenCL Implementation ? 

 

Thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
217 Views

Is the host multi-threaded (pthreads, OpenMP, etc.)? Our host runtime is not thread safe. This is mentioned in the programming guide.

0 Kudos
Reply