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?

Thanks!


_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to