private static CudaResult memcpy2DUnalignedHelper( MemoryType srcType, UInt32 srcXInBytes, UInt32 srcY, IntPtr srcPtr, UInt32 srcPitch, MemoryType dstType, UInt32 dstXInBytes, UInt32 dstY, IntPtr dstPtr, UInt32 dstPitch, UInt32 widthInBytes, UInt32 height ) { MemCpy2D args = new MemCpy2D( srcType, srcXInBytes, srcY, srcPtr, srcPitch, dstType, dstXInBytes, dstY, dstPtr, dstPitch, widthInBytes, height); return(cuMemcpy2DUnaligned(ref args)); }
private static extern CudaResult cuMemcpy2DUnaligned(ref MemCpy2D args);
private static extern CudaResult cuMemcpy2DAsync(ref MemCpy2D args, IntPtr hStream);
private static extern CudaResult cuMemcpy2D(ref MemCpy2D args);