Forum Discussion
Altera_Forum
Honored Contributor
11 years agoChannel problem
Hi There are two kernel functions to communicate with each other by using channels. __kernel void producer(...) { // N threads int sum = get_global_id(0); write_cha...
Altera_Forum
Honored Contributor
11 years agoYou have to keep track yourself as to how many transfers occur in the producer and consumer. So if you launch N threads for your producer, you should launch N threads for your consumer since every thread in producer sends 1 item and exits.