pyopencl.RuntimeError: clWaitForEvents failed: exec status error for events in wait list

£可爱£侵袭症+ 提交于 2019-12-08 07:08:33

问题


Every so often I am not able to continue to run PyOpenCL on my machine. This occasionally happens if I kill a process that is using it. Across ALL pyopencl scripts/kernels, including examples I find online I get the following error:

pyopencl.RuntimeError: clWaitForEvents failed: exec status error for events in wait list

which follows any call of the form

kernel.(queue,gs,ls,...).wait()

OR a = kernel.(queue,gs,ls,...) a.wait()

Rebooting my machine resolves the issue, but this is a painful work around. Has anyone run into anything similar and know how to reset things?

Thank you

来源:https://stackoverflow.com/questions/18410419/pyopencl-runtimeerror-clwaitforevents-failed-exec-status-error-for-events-in-w

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!