pub type CUDA_MEMCPY3D_PEER_v1 = CUDA_MEMCPY3D_PEER_st;
Expand description
3D memory cross-context copy parameters
Aliased Type§
#[repr(C)]pub struct CUDA_MEMCPY3D_PEER_v1 {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 srcContext: *mut CUctx_st,
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 dstContext: *mut CUctx_st,
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
srcContext: *mut CUctx_st
< Source context (ignored with srcMemoryType is ::CU_MEMORYTYPE_ARRAY)
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
dstContext: *mut CUctx_st
< Destination context (ignored with dstMemoryType is ::CU_MEMORYTYPE_ARRAY)
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