Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Your observation is correct but there are a lot of unknown factors involved in the process. I recommend removing all the printf calls except the ones that are the beginning of your kernels. If your host code is structured like this, it is correct (this is a pseudo code with shortened function names): ClEnqueue(queue1, kernel1); ClEnqueue(queue2, kernel2); ClEnqueue(queue3, kernel3); ClEnqueue(queue4, kernel4); ClFinish(queue4); --- Quote End --- Hi, my host code is like this. I consulted an Intel FAE, he said my be caused by imbalance of write and read of channels! But I think, imlalance will not cause channel blocked, because I use buffered channel! What do you think?Tank you!