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.
In a application that i'm working, the programs is written in a form of a
graph. A example of part of one application is bellow:
[image: Inline image 1]
Each node of the graph is a different process. When a node receive all of
your inputs, he is ready to start. This way, concurrency occurs
Hi Marcos,
Marcos Paulo Rocha writes:
> Hi, i'm using multiprocessing and pyopencl and need to pass pyopencl
> objects between processes. The problem is that pyopencl objects aren't
> compatibles with pickle module, using by multiprocessing lib. Any idea to
> solve this