Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20642 Discussions

Altera opencl, Diff usage of Processors when using parallel compilation of Quartus.

Altera_Forum
Honored Contributor II
941 Views

I am using "Hello world" of example designs offered by Altera Opencl. (https://www.altera.com/products/design-software/embedded-software-developers/opencl/developer-zone.html#design-examples

 

I use the "aoc" command and get the .aocx file. 

 

but I have a confusion: 

 

in the file "top.sta.rpt", it have something like this: 

 

 

  • +------------------------------------------+ 

  • ; Parallel Compilation ; 

  • +----------------------------+-------------+ 

  • ; Processors ; Number ; 

  • +----------------------------+-------------+ 

  • ; Number detected on machine ; 8 ; 

  • ; Maximum allowed ; 4 ; 

  • ; ; ; 

  • ; Average used ; 1.08 ; 

  • ; Maximum used ; 4 ; 

  • ; ; ; 

  • ; Usage by Processor ; % Time Used ; 

  • ; Processor 1 ; 100.0% ; 

  • ; Processors 2-3 ; 2.9% ; 

  • ; Processor 4 ; 2.2% ; 

  • +----------------------------+-------------+ 

 

 

Problem:  

1. Why Processor 1 is using 100%, and other Processor only use nearly 3% ? 

2. How can I increase the usage of Processor 2-4 ? 

 

Thank you, wait for your apply~
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
247 Views

Is there anyone face this problem?

0 Kudos
Altera_Forum
Honored Contributor II
247 Views

Hi pengbo, 

 

I am having a similar problem. In my case the base.sta.rpt is as follows: 

 

+------------------------------------------+ 

; Parallel Compilation ; 

+----------------------------+-------------+ 

; Processors ; Number ; 

+----------------------------+-------------+ 

; Number detected on machine ; 24 ; 

; Maximum allowed ; 4 ; 

; ; ; 

; Average used ; 1.57 ; 

; Maximum used ; 4 ; 

; ; ; 

; Usage by Processor ; % Time Used ; 

; Processor 1 ; 100.0% ; 

; Processors 2-4 ; 19.0% ; 

+----------------------------+-------------+ 

 

Also, my machine has 24 processors, but I am only able to use 4 processor.  

 

I tried changing the settings in Quartus Prime Pro 15.2, Assignments > settings > Compilation Process Settings to "use all available processors", but the result is the same, I cannot use more than 4 processors.
0 Kudos
Altera_Forum
Honored Contributor II
247 Views

I still don't solve this. 

 

You can try to changing the settings : Assignments > settings > Compilation Process Settings "Maximum processors allowed 8". 

 

If you have only progress, please contact me in the forum or my e-mail: buaapengbo@126.com 

 

thank you for your apply!
0 Kudos
Reply