OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1718 Discussions

DSP utilization is limited to 25% when I use aoc to compile OpenCL kernel

CLian11
Beginner
564 Views

 When I use aoc to compile OpenCL kernel ,DSP utilization is limited to 25% .

At first , I used "#pragma unroll" to unroll the loop.  when the number of unroll become bigger ,  The DSP blocks utilization increased.

But,when the number of unroll is bigger enough ,the DSP blocks utilization  is limited to 25% .

Why does this happen?

board:Intel® Programmable Acceleration Card with Intel® Arria® 10 FPGA GX

SDK:Intel FPGA SDK for OpenCL 17.1

aoc compile report:

+--------------------------------------------------------------------+
; Estimated Resource Usage Summary                     ;
+----------------------------------------+---------------------------+
; Resource                                 + Usage                    ;
+----------------------------------------+---------------------------+
; Logic utilization                      ;   78%                     ;
; ALUTs                                     ;   48%                     ;
; Dedicated logic registers       ;   34%                     ;
; Memory blocks                      ;   57%                     ;
; DSP blocks                             ;   25%                     ;
+----------------------------------------+---------------------------;

aoc compile report(when number of unroll become bigger):

+--------------------------------------------------------------------+
; Estimated Resource Usage Summary                     ;
+----------------------------------------+---------------------------+
; Resource                               + Usage                    ;
+----------------------------------------+---------------------------+
; Logic utilization                      ;  176%                    ;
; ALUTs                                     ;  130%                    ;
; Dedicated logic registers       ;   60%                     ;
; Memory blocks                      ;   74%                    ;
; DSP blocks                             ;   25%                     ;
+----------------------------------------+---------------------------;
 

0 Kudos
1 Reply
Michael_C_Intel1
Moderator
564 Views

Hello CaiL,

I recommend taking a look at the Intel® Arria forums... FPGA stakeholders within Intel have more visibility there. You may also want to search the preexisting topics as there are a few different discussions on your topic.

This thread may address some of your questions.

-MichaelC

0 Kudos
Reply