Forum Discussion
tde_m
Occasional Contributor
7 years agoOrdering of channel operations
Hello, I'm currently struggling with enforcing the order of write/read to channels. I know, from the Intel programming guide, that two independent channels operation can be re-ordered by the compil...
tde_m
Occasional Contributor
7 years agoHi Douglas, thanks for your reply.
I've seen the warning, and I recognize that (from the compiler point of view) a potential cycle is recognized. Yet, this is want I desired and, in any case, the re-ordering of the compiler is not resolving this issue (which, in this case is not a problem).
So:
- should I assume that the compiler will treat all the channel operations as independent even if there is a clear data dependency (write-after-read in this case)?
- why the presence of the barrier increases the II up to 7?
Thanks for your support