Yes you got it.Originally Posted by jai
I think this picture is better than the last one i posted and will show how it works:
One workitem is done on one processor. Every workitem get's a unique id(get_global_id()). The items inside a workgroup are executed in parallel. And this is done for all items.
You could use http://www.fixstars.com/en/opencl/bo...ng-the-kernel/ this page for clarification. Its quite helpful.