On Donnerstag 04 März 2010, Imran Haque wrote:
> 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)

Cool--I've added that to 
http://wiki.tiker.net/PyCuda/ShowCase

Hope you don't mind.

Also: Everyone, if you have an application of PyCUDA that the world
should know about, please click that link up there and hit edit! :)


> 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).

Same here--my PDE solver also needs to handle init itself. For example,
forking can become strangely dangerous after cuInit(). Therefore my code
needs to control carefully when CUDA is initialized.

Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCUDA mailing list
[email protected]
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net

Reply via email to