Forum Discussion
Altera_Forum
Honored Contributor
10 years agoWhy is the early resource estimate feature of aoc so off?
Hi everyone, I'm trying to compile a kernel that has multiples loops, of which some are also nested, and the early resource estimate feature gives me estimations that are quite off. Can somebod...
Altera_Forum
Honored Contributor
10 years agoIt's possible that without the# pragma unroll the compiler unrolls the loop on its own. Have you tried force disabling unrolling with "#pragma unroll 1"?
But yeah, I've also had odd cases with the estimates. I'm currently using a kernel that was estimated to take 190%. It ended up still fitting, but the compilation took a lot of time. I've never encountered an estimate below 100% that didn't work though.