Fabrizio Milo aka misto wrote:
does anyone has an example of a program where doesn't use the
cuda.autoimport before using any of the pycuda.* ?
Yes, my library (shameless plug: https://simtk.org/home/siml) manually handles CUDA initialization, because just getting "some" context from autoinit is not sufficient - I want to be able to select which device I get a context on, and potentially have multiple contexts on multiple devices (the library supports context-switching to simultaneously use multiple GPUs from a single thread).

Imran

_______________________________________________
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net

Reply via email to