FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
6478 Discussions

Ram usage of Local Memory Arrays in OpenCL for FPGA

bruhay
Beginner
639 Views

I wrote a simple code in OpenCL for FPGA board. I use DE10 nano shared-only board and Intel SDK 18.1 . The main problem is too much Ram consumption. the HTML report mainly shows the problem in Local memory arrays. In an ND-range kernel this problem gets even worse!

Another problem is: there is a compiler warning for all Local arrays which is:

(Aggressive compiler optimization: removing unnecessary storage to local memory)

By the way, In the LOOPS ANALYSIS tab there is II : ~1 and in Details pane it mentions:

(II is an approximation due to the following stall-able instructions: Load Operation #no, Store Operation #no). How can I resolve it and reach the exact 1 for II ?!!

0 Kudos
0 Replies
Reply