This project is read-only.

Opening new threads in Kernel under OpenCL mode

Apr 16, 2016 at 12:35 PM
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 4:35 PM
Got the answer from other forums - kernel can call another kernel without possibility to reshape the grid or initialize a new one.