Type Alias CUDA_MEMCPY2D_v2

Source
pub type CUDA_MEMCPY2D_v2 = CUDA_MEMCPY2D_st;
Expand description

2D memory copy parameters

Aliased Type§

#[repr(C)]
pub struct CUDA_MEMCPY2D_v2 {
Show 16 fields pub srcXInBytes: usize, pub srcY: usize, pub srcMemoryType: CUmemorytype_enum, pub srcHost: *const c_void, pub srcDevice: u64, pub srcArray: *mut CUarray_st, pub srcPitch: usize, pub dstXInBytes: usize, pub dstY: usize, pub dstMemoryType: CUmemorytype_enum, pub dstHost: *mut c_void, pub dstDevice: u64, pub dstArray: *mut CUarray_st, pub dstPitch: usize, pub WidthInBytes: usize, pub Height: usize,
}

Fields§

§srcXInBytes: usize

< Source X in bytes

§srcY: usize

< Source Y

§srcMemoryType: CUmemorytype_enum

< Source memory type (host, device, array)

§srcHost: *const c_void

< Source host pointer

§srcDevice: u64

< Source device pointer

§srcArray: *mut CUarray_st

< Source array reference

§srcPitch: usize

< Source pitch (ignored when src is array)

§dstXInBytes: usize

< Destination X in bytes

§dstY: usize

< Destination Y

§dstMemoryType: CUmemorytype_enum

< Destination memory type (host, device, array)

§dstHost: *mut c_void

< Destination host pointer

§dstDevice: u64

< Destination device pointer

§dstArray: *mut CUarray_st

< Destination array reference

§dstPitch: usize

< Destination pitch (ignored when dst is array)

§WidthInBytes: usize

< Width of 2D memory copy in bytes

§Height: usize

< Height of 2D memory copy