Baskaran Sankaran <[email protected]> writes: > Hi all, > > I am looking for a solution for exchanging some tensors between two gpus, > that do not have P2P enabled. Assuming two GPUs on the same node, I guess I > have to do it in two steps; first copy to host memory from GPU (gpu-0) and > then copy from host memory to the other GPU (gpu-1). However it is not > exactly clear to me as to how I can go about this.
(1) Allocate memory on host (2) memcpy(host mem, gpu0_mem) (3) memcpy(gpu1_mem, host_mem) (4) (Optionally) free host mem Not sure what you're asking... Andreas _______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
