阅读背景:

如何使用Python多处理队列访问GPU(通过PyOpenCL)?

来源:互联网 

I have code that takes a long time to run and so I've been investigating Python's multiprocessing library in order to speed things up. My code also has a few steps that utilize the GPU via PyOpenCL. The problem is, if I set multiple processes to run at the same time, they all end up trying to use the GPU at the same time, and that often results in one or more of the processes throwing an exception and quitting.I have code that takes a long time to run and s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: