View Full Version : Is openCL suitable for task oriented parallelization really?

02-01-2009, 09:18 PM
I'm curisous whether OpenCL is a good way to write task-oriented parallel program. The spec says that OpenCL is designed for GPU, Cell and other kinds of heterogeneous multi-core platform. But I think that it is just a extended version of CUDA.

How do you think about it? Cat OpenCL replace the existant programming model like ALF of Cell, SPI platform, TBB ??

03-09-2009, 03:53 AM
The API for task parallelism do exist - Check EnqueueTask API

05-06-2009, 06:05 AM
Then, can a task create some other task ?

For example, can a kernel running on the device push something in the command queue ? Can a running kernel start the execution of some others kernels ? As far as I understand the specs, it's not possible, but maybe I overlooked something.


07-21-2009, 01:22 PM
In OpenCL 1.0 a task can not enqueue another task. The host can build a task graph (using event dependencies) and submit task-parallel work to OpenCL, though.