Hi Neal, Neal Becker <ndbeck...@gmail.com> writes: > Typically, I have multiple CPU cores running in 'trivial parallel' > mode - each running an independent point of a monte-carlo simulation. > > Could multiple processes multiplex use of a single GPU, using > PyViennaCL?
As long as your OpenCL implementation allows more than one process to access the compute device simultaneously, I don't see why this shouldn't work. I just made a basic test of this using nVidia's OpenCL implementation by running two PyViennaCL processes at once, and nothing went awry. ViennaCL has fairly loose object ownership requirements, so I expect you'd even be able to pass objects between the processes as long as the pointers were maintained. I'd be interested to hear how this goes. Cheers, -- Toby St Clere Smithe http://tsmithe.net _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion