#[repr(C)]pub struct CUDA_MEMCPY3D_PEER_st {Show 25 fields
pub srcXInBytes: usize,
pub srcY: usize,
pub srcZ: usize,
pub srcLOD: usize,
pub srcMemoryType: CUmemorytype,
pub srcHost: *const c_void,
pub srcDevice: CUdeviceptr,
pub srcArray: CUarray,
pub srcContext: CUcontext,
pub srcPitch: usize,
pub srcHeight: usize,
pub dstXInBytes: usize,
pub dstY: usize,
pub dstZ: usize,
pub dstLOD: usize,
pub dstMemoryType: CUmemorytype,
pub dstHost: *mut c_void,
pub dstDevice: CUdeviceptr,
pub dstArray: CUarray,
pub dstContext: CUcontext,
pub dstPitch: usize,
pub dstHeight: usize,
pub WidthInBytes: usize,
pub Height: usize,
pub Depth: usize,
}
Expand description
3D memory cross-context copy parameters
Fields§
§srcXInBytes: usize
< Source X in bytes
srcY: usize
< Source Y
srcZ: usize
< Source Z
srcLOD: usize
< Source LOD
srcMemoryType: CUmemorytype
< Source memory type (host, device, array)
srcHost: *const c_void
< Source host pointer
srcDevice: CUdeviceptr
< Source device pointer
srcArray: CUarray
< Source array reference
srcContext: CUcontext
< 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
< Destination memory type (host, device, array)
dstHost: *mut c_void
< Destination host pointer
dstDevice: CUdeviceptr
< Destination device pointer
dstArray: CUarray
< Destination array reference
dstContext: CUcontext
< 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
Trait Implementations§
Source§impl Clone for CUDA_MEMCPY3D_PEER_st
impl Clone for CUDA_MEMCPY3D_PEER_st
Source§fn clone(&self) -> CUDA_MEMCPY3D_PEER_st
fn clone(&self) -> CUDA_MEMCPY3D_PEER_st
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more