Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Hi hackeren, I have seen this issue in my own code but of course I can't remember exactly how I fixed it :-) It was either 1. My host code was incorrect and the second kernel wasn't correctly enqueued or 2. The emulation environment doesn't entirely correctly emulate the hardware and the consumer kernel was not launched before the producer kernel had filled up the channel, increasing the channel depth for emulation only may fix it. Wish I had noted what I did a bit better. --- Quote End --- TKS for your advice ! I create two queues, one for producer kernel and another for consumer kernel, instead of only one command queue for all the kernels.