Forum Discussion
Altera_Forum
Honored Contributor
10 years agoThank you for the help okebz! So basically in buffer management implementation, the channel is used as a tool for synchronization between kernels, whereas the transfer of data is actually done via global memory. The bandwidth and latency of the volatile global memory should be the same as the normal global memory right?
Also, about the declaration of the volatile global memory in the host, should it be declared the same way as the normal global memory? How should the manager kernel be written so that it could know "which regions in memory are free for producer to use"? How could consumer kernel "release" this shared memory? I am wondering about this because the AOCL programming guide only showed the example code for the producer kernel, not the management kernel. Is there a more complete example published somewhere that I could refer to? Thank again!