Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThis is very interesting, thanks for the reply koper.
I'm still gaining familiarity with the single work-item/pipelined programming model and currently I don't have a preference between NDRange vs. Pipelined Task from a programmability point of view. I'm coming from the GPU side of things and so thinking about coding implicit pipeline parallelism rather than explicit work-group/work-item parallelism was difficult at first. It's definitely a much cleaner way to program though now that I understand how to create shift registers. Koper has a good point though that because OpenCL does not let work-items share private memory, you either have to use the task model if you want to take advantage of the large number of registers on chip for inter-stage communication of tokens or use channels.