Opening new threads in Kernel under OpenCL mode

Apr 16, 2016 at 11:35 AM
I am trying to launch a kind of sub-kernel within a kernel and therefor I need to create a GThread object.
However I receive an error: Compilation error: 1:123:40: error: implicit declaration of function 'GThread' is invalid in OpenCL

Is there any work around? Maybe it is possible to pass GThread object like and argument created outside the kernel?

Thanks in advance
Apr 16, 2016 at 3:35 PM
Got the answer from other forums - kernel can call another kernel without possibility to reshape the grid or initialize a new one.