Hi,

I got the following error when trying to call some pycuda code in a CPU
thread:

explicit_context_dependent failed: invalid context - no currently active
context?

More details, I use pyQt for GUI, and hence QThread is used for threading.
In Qt, all the GUI stuff live in the main thread.

No such problem after I moved the pycuda code out of my QThread.

Has anyone had this problem? Any help is appreciated.

Yifei
_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to