Type Alias CUDA_MEMCPY3D_v2

Source
pub type CUDA_MEMCPY3D_v2 = CUDA_MEMCPY3D_st;
Expand description

3D memory copy parameters

Aliased Type§

#[repr(C)]
pub struct CUDA_MEMCPY3D_v2 {
Show 25 fields pub srcXInBytes: usize, pub srcY: usize, pub srcZ: usize, pub srcLOD: usize, pub srcMemoryType: CUmemorytype_enum, pub srcHost: *const c_void, pub srcDevice: u64, pub srcArray: *mut CUarray_st, pub reserved0: *mut c_void, pub srcPitch: usize, pub srcHeight: usize, pub dstXInBytes: usize, pub dstY: usize, pub dstZ: usize, pub dstLOD: usize, pub dstMemoryType: CUmemorytype_enum, pub dstHost: *mut c_void, pub dstDevice: u64, pub dstArray: *mut CUarray_st, pub reserved1: *mut c_void, pub dstPitch: usize, pub dstHeight: usize, pub WidthInBytes: usize, pub Height: usize, pub Depth: usize,
}

Fields§

§srcXInBytes: usize

< Source X in bytes

§srcY: usize

< Source Y

§srcZ: usize

< Source Z

§srcLOD: usize

< Source LOD

§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

§reserved0: *mut c_void

< Must be NULL

§srcPitch: usize

< Source pitch (ignored when src is array)

§srcHeight: usize

< Source height (ignored when src is array; may be 0 if Depth==1)

§dstXInBytes: usize

< Destination X in bytes

§dstY: usize

< Destination Y

§dstZ: usize

< Destination Z

§dstLOD: usize

< Destination LOD

§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

§reserved1: *mut c_void

< Must be NULL

§dstPitch: usize

< Destination pitch (ignored when dst is array)

§dstHeight: usize

< Destination height (ignored when dst is array; may be 0 if Depth==1)

§WidthInBytes: usize

< Width of 3D memory copy in bytes

§Height: usize

< Height of 3D memory copy

§Depth: usize

< Depth of 3D memory copy