#[repr(C)]pub struct hipPitchedPtr {
pub ptr: *mut c_void,
pub pitch: usize,
pub xsize: usize,
pub ysize: usize,
}Expand description
HIP pithed pointer
Fields§
§ptr: *mut c_void< Pointer to the allocated memory
pitch: usize< Pitch in bytes
xsize: usize< Logical size of the first dimension of allocation in elements
ysize: usize< Logical size of the second dimension of allocation in elements
Trait Implementations§
Source§impl Clone for hipPitchedPtr
impl Clone for hipPitchedPtr
Source§fn clone(&self) -> hipPitchedPtr
fn clone(&self) -> hipPitchedPtr
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 hipPitchedPtr
impl Debug for hipPitchedPtr
impl Copy for hipPitchedPtr
Auto Trait Implementations§
impl Freeze for hipPitchedPtr
impl RefUnwindSafe for hipPitchedPtr
impl !Send for hipPitchedPtr
impl !Sync for hipPitchedPtr
impl Unpin for hipPitchedPtr
impl UnwindSafe for hipPitchedPtr
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