Received from Gavin Weiguang Ding on Mon, Oct 06, 2014 at 04:30:46PM EDT: > Hi, > > I'm trying to do p2p communication between 2 GPUs without going through the > CPU memory. > And I need to communicate between 2 processes (due to one process in Theano > can only use 1 GPU), is that possible with pycuda? or > specifically pycuda.driver.memcpy_peer?
Yes, but your GPU needs to support GPUDirect peer-to-peer communication. Assuming that you have the appropriate hardware, you can also use mpi4py to transfer data between GPUs if it has been compiled against an MPI implementation that supports GPU-to-GPU communication (e.g., OpenMPI 1.8, MVAPICH2 2.0). -- Lev Givon Bionet Group | Neurokernel Project http://www.columbia.edu/~lev/ http://lebedov.github.io/ http://neurokernel.github.io/ _______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
