On Tue, 07 Sep 2010 15:30:21 -0700, reckoner <[email protected]> wrote: > Just to be sure, if I have 3 GPU devices, I just do > > dev=drv.Device(2) > dev.make_context() > > at the top of my program to use the third (numbered from zero) GPU. > > Is that right?
Yes, that's right. If you're using pycuda.autoinit, you may also just set the environment variable CUDA_DEVICE, e.g. CUDA_DEVICE=2 python my-script.py HTH, Andreas
pgpySbjxSjXxR.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
