Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi,
I found some information about channel depth in the programming guide. http://www.altera.com/literature/hb/opencl-sdk/aocl_programming_guide.pdf Implementing Buffered Channels Using the depth Channels Attribute You may have buffered or unbuffered channels in your kernel program. If there are imbalances in channel read and write operations, create buffered channels to prevent kernel stalls by including the depth attribute in your channel declaration. Buffered channels decouple the operation of concurrent work-items executing in different kernels Here is an example: channel int c __attribute__((depth(10)));