public static int cuMemcpyPeerAsync ( CUdeviceptr dstDevice , CUcontext dstContext , CUdeviceptr srcDevice , CUcontext srcContext , long ByteCount , CUstream hStream ) { return checkResult ( cuMemcpyPeerAsyncNative ( dstDevice , dstContext , srcDevice , srcContext , ByteCount , hStream ) ) ; }
Copies device memory between two contexts asynchronously .