Example #1
0
        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));
        }
Example #2
0
 private static extern CudaResult cuMemcpy2DUnaligned(ref MemCpy2D args);
Example #3
0
 private static extern CudaResult cuMemcpy2DAsync(ref MemCpy2D args, IntPtr hStream);
Example #4
0
 private static extern CudaResult cuMemcpy2D(ref MemCpy2D args);