#[repr(C)]pub struct HIP_MEMCPY3D {Show 23 fields
pub srcXInBytes: usize,
pub srcY: usize,
pub srcZ: usize,
pub srcLOD: usize,
pub srcMemoryType: hipMemoryType,
pub srcHost: *const c_void,
pub srcDevice: hipDeviceptr_t,
pub srcArray: hipArray_t,
pub srcPitch: usize,
pub srcHeight: usize,
pub dstXInBytes: usize,
pub dstY: usize,
pub dstZ: usize,
pub dstLOD: usize,
pub dstMemoryType: hipMemoryType,
pub dstHost: *mut c_void,
pub dstDevice: hipDeviceptr_t,
pub dstArray: hipArray_t,
pub dstPitch: usize,
pub dstHeight: usize,
pub WidthInBytes: usize,
pub Height: usize,
pub Depth: usize,
}Expand description
HIP 3D memory copy
Fields§
§srcXInBytes: usize< Source X in bytes
srcY: usize< Source Y
srcZ: usize< Source Z
srcLOD: usize< Source LOD
srcMemoryType: hipMemoryType< Source memory type
srcHost: *const c_void< Source host pointer
srcDevice: hipDeviceptr_t< Source device
srcArray: hipArray_t< Source array
srcPitch: usize< Source pitch
srcHeight: usize< Source height
dstXInBytes: usize< Destination X in bytes
dstY: usize< Destination Y
dstZ: usize< Destination Z
dstLOD: usize< Destination LOD
dstMemoryType: hipMemoryType< Destination memory type
dstHost: *mut c_void< Destination host pointer
dstDevice: hipDeviceptr_t< Destination device
dstArray: hipArray_t< Destination array
dstPitch: usize< Destination pitch
dstHeight: usize< Destination height
WidthInBytes: usize< Width in bytes of 3D memory copy
Height: usize< Height in bytes of 3D memory copy
Depth: usize< Depth in bytes of 3D memory copy
Trait Implementations§
Source§impl Clone for HIP_MEMCPY3D
impl Clone for HIP_MEMCPY3D
Source§fn clone(&self) -> HIP_MEMCPY3D
fn clone(&self) -> HIP_MEMCPY3D
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HIP_MEMCPY3D
impl Debug for HIP_MEMCPY3D
impl Copy for HIP_MEMCPY3D
Auto Trait Implementations§
impl Freeze for HIP_MEMCPY3D
impl RefUnwindSafe for HIP_MEMCPY3D
impl !Send for HIP_MEMCPY3D
impl !Sync for HIP_MEMCPY3D
impl Unpin for HIP_MEMCPY3D
impl UnwindSafe for HIP_MEMCPY3D
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more