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

optical flow example Optimizer FAILED

Altera_Forum
Honored Contributor II
1,141 Views

Hi, 

 

I was trying to run the optical flow example on Sockit. When I compile the kernel with the full flow(without -c), I can generate the kernel file.(about 25mins) 

 

But if I want to run the first stage only(with -c) or to profile the kernel with(--profile), after quite a long time compiling(2hours or more), then I got an error:  

"Optimizer FAILED!  

Refer to optical_folw/optical_flow.log for details." 

 

I checked the log file, but it is empty. 

 

I know with "--profile", it is much slower and may use more resources, but if I remember correctly, this kernel I generated the first time only consumed around 45%. So there should be enough resources, right? 

 

But for the first stage compiling, I really don't know why I can not get the estimated resource usage report. 

(PS: I tried this with -c two or three times, all optimizer failed.) 

 

 

Thanks 

Shaodong
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
460 Views

Hello Shaodong 

 

"Optimizer FAILED" message when compiling optical_flow.cl with --profile seems to be a bug in the compiler. We will work on fixing this for a future release of the compiler. Thank you for reporting it. 

 

To get estimated resource usage, make sure to supply --report option to aoc. Note that the estimated report is generated after the optimizer.
0 Kudos
Reply