[PyCUDA] More Patches, and cuda.init() elimination
lists at informa.tiker.net
Thu Mar 4 13:39:39 PST 2010
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
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! :)
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the PyCUDA