Forum Discussion
Altera_Forum
Honored Contributor
9 years agoCompile kernel as task not as NDRange
Hi, My design has multiple kernels communicating through channels forming a chain like this: Kga -> Kconf -> Kene -> Kst It is running correctly in emulation, but some information in ...
Altera_Forum
Honored Contributor
9 years agoTry adding __attribute__((max_global_work_dim(0))) for that kernel, this should ensure it is compiled as a single work-item kernel.
source: aocl programming guide, 2.3.1.1 (https://www.altera.com/en_us/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf#page=136)