Forum Discussion
Altera_Forum
Honored Contributor
8 years agoThanks HRZ, unfortunately I'm still having this issue. The test code you posted detects the serial execution dependency fine however I get very inconsistent results in the compiler for my program. I'm going to keep trying to create simplified versions to show you what I mean but if you have any# pragma recommendations or anything in the meantime let me know.
I've noticed it occurs when I have add a for loop around some code that contains 2 layer deep nested for loops - adding this "outer" for loop seems to make my inner loops lose their serial execution dependency statements in my reports (and their II goes from ~100 to ~2, with no memory replication). I'm not using# pragma ivdep anywhere in my code, and adding# pragma max_concurrency 1 and/or# pragma unroll 1 didn't help.