On Thu, 2 Jun 2011 10:28:40 +0200, Riaan van den Dool <[email protected]> 
wrote:
> When I do cl.CreateSomeContext() it interactively chooses a specific device.
> What would be the procedure to create a context with multiple devices?

Fish out the devices you want, pass them to the 'devices' kwarg of the
context constructor:

http://documen.tician.de/pyopencl/runtime.html#pyopencl.Context

HTH,
Andreas

Attachment: pgpDUfAR8K957.pgp
Description: PGP signature

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to