public static int cuMemcpyPeer ( CUdeviceptr dstDevice , CUcontext dstContext , CUdeviceptr srcDevice , CUcontext srcContext , long ByteCount ) { return cuMemcpyPeerNative ( dstDevice , dstContext , srcDevice , srcContext , ByteCount ) ; }
Copies device memory between two contexts .