Does Intel OpenCL SDK support task parallel interfaces

Does Intel OpenCL SDK support task parallel interfaces

Hi,
I read the user guide and try to find some task parallel content (as what TBB does for task management), however, I feel that I still can not get the answer.Does current release of Intel OpenCL SDK support task parallel? Will the tasks be scheduled by OpenCL implementation?Sorry for silly question, and thank you for reading this post.Susan

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Susan,

You have two options for Task Parallelism.
1. Create single Out of Order queue and submit Tasks to it.
2. Create muliple In Order queues and submit tasks that should be run in parallel to different queues.

Don't forget clFlush() in both cases.

Thanks,
Evgeny

Thank you very much. So there is task scheduler to map tasks to threads and help on load balance, is it correct?
Thanks,Susan

Yes,
it's correct.

Leave a Comment

Please sign in to add a comment. Not a member? Join today