问题
CUDA 5 has just been released and with it the ability to spawn GPU threads from within another GPU (main?) thread, minimising callouts between CPU and GPU that we've seen thus far.
What plans are there to support GPU-spawned threads in the OpenCL arena? As I cannot afford to opt for a closed standard (my user base is "everygamer"), I need to know when OpenCL is ready for prime time in this regard.
回答1:
OpenCL Standard is usually the way back of CUDA (except for device partitioning feature) and I guess this feature will be added to OpenCL in a year.
EDIT on Aug 8, 2013: This feature has been introduced in OpenCL 2.0.
来源:https://stackoverflow.com/questions/12913640/opencl-dynamic-parallelism-gpu-spawned-threads