Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHow to solve data dependency problem?
After I compiled my kernel,I got the report as following: Block2: II bottleneck due to data dependency on variable(s): value (kernels.cl:42) Largest critical path contributor(s): 64%: ...
Altera_Forum
Honored Contributor
8 years agoYour code does not make much sense to me, it is just overwriting Value[n] and your computation does not depend on "m". Are you sure you are not forgetting a "+" before "="? Furthermore, your inner loop is not pipelineable due to variable exit condition.