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

FPGA(Opencl) code work well in emulator mode, but can't finish run on the FPGA

Altera_Forum
Honored Contributor II
5,895 Views

Hello: 

When I run my FPGA(OpenCL) code in emulator mode, the result is right; but after I create hardware configuration file and run on the FPGA, the code is blocked and can't finish.My code used channel.What is the problem?How to debug the code in this situation?Thank you very much!
0 Kudos
23 Replies
Altera_Forum
Honored Contributor II
1,049 Views

 

--- Quote Start ---  

Easiest solution is to put all of your code in one kernel, remove all the channels, and use local memory buffers instead. 

--- Quote End ---  

 

 

Now I have remove all the channels and use local memory buffers instead, the same as you say. But after I finish debug this version, I also want to try use channels, to see if use channels can increace performance. Is it necessary to do that I think?
0 Kudos
Altera_Forum
Honored Contributor II
1,049 Views

 

--- Quote Start ---  

Now I have remove all the channels and use local memory buffers instead, the same as you say. But after I finish debug this version, I also want to try use channels, to see if use channels can increace performance. Is it necessary to do that I think? 

--- Quote End ---  

 

You can try but based on my experience, channels not only don't increase performance, they also increase area usage considerably.
0 Kudos
Altera_Forum
Honored Contributor II
1,049 Views

 

--- Quote Start ---  

Now I have remove all the channels and use local memory buffers instead, the same as you say. But after I finish debug this version, I also want to try use channels, to see if use channels can increace performance. Is it necessary to do that I think? 

--- Quote End ---  

 

 

 

 

Hello, 

 

I was wondering, whether you were successful in running the kernel in channel configuration,  

I would like to follow your work, please keep us posted. 

 

 

Thanks
0 Kudos
Reply