Thank you Andreas. I will try this way.

On Wed, Aug 17, 2016 at 11:59 PM, Andreas Kloeckner <> wrote:
Marcos Paulo Rocha <> writes:
> But multithreading will suffer the problem of GIL doesn't it ?

Well, if you're doing it right, then all of your threads will either be
waiting for some OpenCL operation to complete or waiting for IO. Neither
of those is affected by the GIL.