#[repr(C)]pub struct HIP_MEMSET_NODE_PARAMS {
pub dst: hipDeviceptr_t,
pub pitch: usize,
pub value: c_uint,
pub elementSize: c_uint,
pub width: usize,
pub height: usize,
}
Expand description
Memset node params
Fields§
§dst: hipDeviceptr_t
< Destination pointer on device
pitch: usize
< Destination device pointer pitch. Unused if height equals 1
value: c_uint
< Value of memset to be set
elementSize: c_uint
< Element in bytes. Must be 1, 2, or 4.
width: usize
< Width of a row
height: usize
< Number of rows
Trait Implementations§
Source§impl Clone for HIP_MEMSET_NODE_PARAMS
impl Clone for HIP_MEMSET_NODE_PARAMS
Source§fn clone(&self) -> HIP_MEMSET_NODE_PARAMS
fn clone(&self) -> HIP_MEMSET_NODE_PARAMS
Returns a copy 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_MEMSET_NODE_PARAMS
impl Debug for HIP_MEMSET_NODE_PARAMS
impl Copy for HIP_MEMSET_NODE_PARAMS
Auto Trait Implementations§
impl Freeze for HIP_MEMSET_NODE_PARAMS
impl RefUnwindSafe for HIP_MEMSET_NODE_PARAMS
impl !Send for HIP_MEMSET_NODE_PARAMS
impl !Sync for HIP_MEMSET_NODE_PARAMS
impl Unpin for HIP_MEMSET_NODE_PARAMS
impl UnwindSafe for HIP_MEMSET_NODE_PARAMS
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