#[repr(C)]pub struct hip_Memcpy2D {Show 16 fields
pub srcXInBytes: usize,
pub srcY: usize,
pub srcMemoryType: hipMemoryType,
pub srcHost: *const c_void,
pub srcDevice: hipDeviceptr_t,
pub srcArray: hipArray_t,
pub srcPitch: usize,
pub dstXInBytes: usize,
pub dstY: usize,
pub dstMemoryType: hipMemoryType,
pub dstHost: *mut c_void,
pub dstDevice: hipDeviceptr_t,
pub dstArray: hipArray_t,
pub dstPitch: usize,
pub WidthInBytes: usize,
pub Height: usize,
}Expand description
HIP 2D memory copy parameters
Fields§
§srcXInBytes: usize< Source width in bytes
srcY: usize< Source height
srcMemoryType: hipMemoryType< Source memory type
srcHost: *const c_void< Source pointer
srcDevice: hipDeviceptr_t< Source device
srcArray: hipArray_t< Source array
srcPitch: usize< Source pitch
dstXInBytes: usize< Destination width in bytes
dstY: usize< Destination height
dstMemoryType: hipMemoryType< Destination memory type
dstHost: *mut c_void< Destination pointer
dstDevice: hipDeviceptr_t< Destination device
dstArray: hipArray_t< Destination array
dstPitch: usize< Destination pitch
WidthInBytes: usize< Width in bytes of the 2D memory copy
Height: usize< Height of the 2D memory copy
Trait Implementations§
Source§impl Clone for hip_Memcpy2D
impl Clone for hip_Memcpy2D
Source§fn clone(&self) -> hip_Memcpy2D
fn clone(&self) -> hip_Memcpy2D
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_Memcpy2D
impl Debug for hip_Memcpy2D
impl Copy for hip_Memcpy2D
Auto Trait Implementations§
impl Freeze for hip_Memcpy2D
impl RefUnwindSafe for hip_Memcpy2D
impl !Send for hip_Memcpy2D
impl !Sync for hip_Memcpy2D
impl Unpin for hip_Memcpy2D
impl UnwindSafe for hip_Memcpy2D
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